add getters and toString() to DerivedFile
update legacy datamodel test to compile with DerivedFile added