<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def npz_convert(self, infile, item):
 """Convert a numpy NPZ file to h5features."""

        data = np.load(infile)
        labels = self._labels(data)
        features = data['features']
        self._write(item, labels, features)