Use this module to validate the file upload using mime-types or extensions.