def METHOD_NAME():
    with codecs.open(self.outfile, 'w', 'utf8') as fout:
        while True:
            cell = yield
            if cell is None:
                break
            fout.write(cell)