Mime type validator fixed so it works with any mimetype