code: def add_data(self, data):
      self.fh.write(data.encode("UTF-8") + b"\n")
  
imports: import os
  import zstandard
  import json
  import jsonlines
  import io
  import datetime
  import mmap
  import tqdm
  from pathlib import Path
label_desc: Use image node_id 2 for calling the TextArchive obj's underlying member method code with example usage: obj.add_data(data) without return types