added reading of id csv file