Use NSFileHandle instead of reading all the data all at once.
We really don't need to set values to nil in that loop.
Very minor changes.