Small changes

CamelCase instead of underscore, remove unnecessary variable
Indirect read via relationships

We can’t just take the id as a filename, we need to read
the relationships file first and use rid.