<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _write(self, item, labels, features):
 """ Writes the given item to the owned file."""

        data = Data([item], [labels], [features])
        self._writer.write(data, self.groupname, append=True)