Changed file type back and added new file mime method