To delete a file, go to the file and click "settings":
and then click "Delete":
This will prompt a window that will ask you if you are sure you want to delete the file:
If you wish to delete the folder or file, click "OK".
Note: once deleted, folders and files cannot be recovered. They will need to be either recreated or re-uploaded.