How to delete a folder or a file with cPanel's File Manager ?
Here's how to edit file in the cPanel File Manager
Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area.
In the Files section, click on File Manager Icon.

Navigate to the directory where your file is located.
Right-click the file you want to delete and select the Delete option.

A window will pop up asking you to confirm the transaction by clicking the Confirm button.

The file or folder should then be deleted successfully.
Updated on: 23/03/2023
Thank you!