check validate file names