read the csv data from file.