Removed the mime type check