KeyError: 'csv' using a csv file with KeyDataset

If it has to be a single column before using the pipeline is there a way that I can process each row of the file and get a result for that row?
ie.

if I have a file that is:
line1
line2
line3

I want to pass just line1 first, get result then pass line2, get result and so on. Thanks for the help so far!