A validator for checking spaces in files.