What's in dev.csv? The output you report is consistent with it being an empty file.
In reply to Re: Reading a CSV file by Narveson in thread Reading a CSV file by alchang