def body(self):
        for fp, need_close in self.files:
            try:
                name = fp.name
            except __HOLE__:
                name = ''
            for chunk in self.gen_chunks(self.envelope.file_open(name)):
                yield chunk
            for chunk in self.file_chunks(fp):
                yield chunk
            for chunk in self.gen_chunks(self.envelope.file_close()):
                yield chunk
            if need_close:
                fp.close()
        for chunk in self.close():
            yield chunk
dataset/ETHPy150Open ipfs/py-ipfs-api/ipfsApi/multipart.py/FileStream.body