allow command-line specification of input file pattern