Add support for mimetypes and gzip files