Iterate over each line.