code: def write(self, s, fileid=None):
      if not fileid:
          fileid = self.fileids[0]
  
      self.get_file(fileid).write(s)
  
file_path: nltk-trainer/nltk_trainer/writer/__init__.py
imports: import codecs, collections, os, os.path
label_desc: Use image node_id 5 for calling the CorpusWriter obj's underlying member method code with example usage: obj.write(s, fileid) without return types