add delete for media files