code: def __init__(
      self,
      for_write: bool,
      file_name: str,
      stream_name: str = None,
      console_debug: bool = False,
  ):
      super(FileStream, self).__init__(
          stream_name=stream_name or file_name,
          console_debug=console_debug,
      )
  
      self._file = open(file_name, "wb" if for_write else "rb")
      self.file_name = file_name
      self.for_write = for_write
      utils.debug_log(
          "FileStream started",
          os.path.realpath(self._file.name),
          verbosity=0,
      )
  
file_path: tensorwatch/tensorwatch/file_stream.py
imports: from .stream import Stream
  import pickle, os
  from typing import Any
  from .None import utils
  import time
label_desc: Use image node_id 1 to create a new FileStream object from inherited base classes: Stream with example: obj = FileStream(for_write, file_name, stream_name, console_debug)