def to_feature_reports(self, debug=False):
        rest = self.to_string()
        seq = 0
        out = []
        # When sending a frame to the YubiKey, we can (should) remove any
        # 7-byte serie that only consists of '\x00', besides the first
        # and last serie.
        while rest:
            this, rest = rest[:7], rest[7:]
            if seq > 0 and rest:
                # never skip first or last serie
                if this != b'\x00\x00\x00\x00\x00\x00\x00':
                    this += yubico_util.chr_byte(yubikey_defs.SLOT_WRITE_FLAG + seq)
                    out.append(self._debug_string(debug, this))
            else:
                this += yubico_util.chr_byte(yubikey_defs.SLOT_WRITE_FLAG + seq)
                out.append(self._debug_string(debug, this))
            seq += 1
        return out
This is called when a File is deleted to allow the adapter to remove
dataset/ETHPy150Open Yubico/python-yubico/yubico/yubikey_frame.py/YubiKeyFrame.to_feature_reports--crossover with--dataset/ETHPy150Open girder/girder/girder/utility/abstract_assetstore_adapter.py/AbstractAssetstoreAdapter.deleteFile