validation of file names