validating one file by name