making sure that the file gets the content type back