'Return this entity as a string, whether stored in a file or not.'

def fullvalue(self):

    if self.file:
        self.file.seek(0)
        value = self.file.read()
        self.file.seek(0)
    else:
        value = self.value
    return value
