Corrects function file_mime_type