added --print-snps plus more support for compressed text files