Checks the validity of a file name. A valid name consists of word characters, '-' or '.'.
True if the filename is valid, false otherwise.
The name of the file to validate.
Checks the validity of a file name. A valid name consists of word characters, '-' or '.'.
Returns
True if the filename is valid, false otherwise.