line-by-line reader replaced with line-reader.