reading csv files and transform data into triples