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