don't read entire files into memory
Merge pull request #1 from smammy/master

don't read entire files into memory