implement File Reference on Datastore