first version of code to read relations from CSV