read input file line-by-line instead of slurping into memory

just in case you have a small server and a huge filing (or you want to run lots of parse processes at once)