Content type on file upload

On file download, response content type is now set with the mime type of the returned file. Mapping based on mime.types file