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)
Merge pull request #1 from seamusabshere/patch-1

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