docstr: Recreates the old file with this exp and version
  :param version:
  :return:
docstr_tok: ["Recreates","the","old","file","with","this","exp","and","version",":","param","version",":",":","return",":"]
code: def __create_exp_file(self, version):
      """
      Recreates the old file with this exp and version
      :param version:
      :return:
      """
  
      try:
          exp_cache_file = self.get_data_path(self.name, self.version)
          # if no exp, then make it
          path = "{}/meta.experiment".format(exp_cache_file)
          open(path, "w").close()
          self.version = version
  
          # make the directory for the experiment media assets name
          os.makedirs(
              self.get_media_path(self.name, self.version),
              exist_ok=True,
          )
  
          # make the directory for tensorboardx stuff
          os.makedirs(
              self.get_tensorboardx_path(self.name, self.version),
              exist_ok=True,
          )
      except Exception as e:
          # file already exists (likely written by another exp. In this case disable the experiment
          self.debug = True
  
imports: import contextlib
  import json
  import os
  import shutil
  from datetime import datetime
  import numpy
  import pandas
  from imageio import imwrite
  from tensorboard.compat.proto.event_pb2 import Event
  from tensorboard.compat.proto.event_pb2 import SessionLog
  from torch.utils.tensorboard import SummaryWriter, FileWriter
label_desc: Use image node_id 8 for calling the Experiment obj's underlying member method code with example usage: obj.__create_exp_file(version) without return types