For Windows, right-click the file and select "Rename". Type in the new name and press "Enter".
For Mac, control-click the file. In the shortcut menu, select "Rename". Type in the new name and press "Return".