Fix bug in reverse scan.  New command line interface with a command per input file