Parse line by line instead of whole file