Login to your cPanel account.
Locate and click the File Manager from the Files section.
You will be redirected to the File Manager screen. Locate the folder or file that you wish to rename and just right click beside it.
A window will pop up asking you for the new name you wish to use. Once done, just click on the Rename File button from the window.
You will then see the renamed folder or file within the File Manager.