allow pattern matching of filenames to specs