Refs #42, moves file deletion to MediaFile model.