Adds a custom file validator.
The file extension to validate.
The handler that validates the file.
See Implementation
Adds a custom file validator.