Navigate to the file you want to rename
Click on the ellipsis "..."
Click on "Rename"
You will see a pop-up:
Enter your new document name and click "Rename"
The file extension cannot be changed. Only the name of the document will be changed.