Refactor FileValidationException, so instead of a validator, it accepts validation error messages directly.
Set error messages instead of the validator instance when throwing a FileValidationException.