Move getMimeType method into expFile since it's pretty generic and we've already altered it