added normalization of line endings in csvs