Using fread to improve efficiency for reading csv file