There are two ways to delete a file:
Click on the bin to the right of the file name.

Deleting files

Press Delete at the top of the screen showing the file details.

Deleting Files

Confirm the deletion of the file to finish.