How to delete a file from iTunes file sharing folder iOS
===

I have no problem with getting the path of the files that are located in the iTunes file sharing folder.. What I want is to delete them completely when the delete button is hit.. 

One more question.. is it possible to distinguish the file extension when delete button is hit? for example if it's a avi file, then alert user that he is about to delete a movie?

Thanks...