Validates the file extension against a list of allowed extensions
Creates a new ExtensionValidator instance
The multipart file to validate
Whether the file has been validated
Update the expected file extensions
Validate the file extension against allowed extensions
Validates the file extension against a list of allowed extensions