add a third output file argument
test that all matches are made before using them.
can set the channel and prints a running total of packets to stderr