Updated file_entity to mirror dining
updated to remove hooks since permission is now included in media