process line wise

* saves the memory for big file