Validates that the file has one of the allowed extensions.
File name of the file to be tested.
Allowed extensions including a leading dot.
darg_plus.exception.ValidationError if the extension of file is not in the list of allowed extensions.
validate, std.algorithm.searching.endsWith
See Implementation
Validates that the file has one of the allowed extensions.