Update to the validation of file names to allow _ in the extension