minor changes in reading csv files