changed file format to mime type