begin file system IO
validate file names