Added mime-file-type func