validate Idea file upload MIME type