<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def filesize(self):
 """File size of the object."""

        if self.kind == 'data':
            return len(self._data.data)
        return self._data.filesize