restore full path of file when reading file instance from the database.
sub_name support for DictDocument