To delete a file or folder that you have sent through an activity such as a file share, nothing could be easier. 

Go to the activity in question and click on X file(s) :
 

 

Then select the file you want to delete and click on the trash can icon: