code: def __init__(self, file_path, compression_level=3):
      self.file_path = file_path
      dir_name = os.path.dirname(file_path)
      if dir_name:
          os.makedirs(dir_name, exist_ok=True)
      self.fh = open(self.file_path, "wb")
      self.cctx = zstandard.ZstdCompressor(level=compression_level)
      self.compressor = self.cctx.stream_writer(self.fh)
  
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 1 to create a new Archive object  with example: obj = Archive(file_path, compression_level)