import mime return the proper MIME type