@defer.inlineCallbacks
    def close(self):
        if not self._closed:
            yield self.__flush()
            self._closed = True
Flush the file and close it.
dataset/ETHPy150Open twisted/txmongo/txmongo/_gridfs/grid_file.py/GridIn.close