Update parser.pl

Fail nicely when no valid files given.