Added early filtering as part of -parse, records, and removed unrelated parts for my own database work.