Changed to read stream one line at a time instead of the whole text file up front.