code: def add_experiment(self, id, port, time, file_name, platform):
          '''set {key:value} paris to self.experiment'''
          self.experiments[id] = {}
          self.experiments[id]['port'] = port
          self.experiments[id]['startTime'] = time
          self.experiments[id]['endTime'] = 'N/A'
          self.experiments[id]['status'] = 'INITIALIZED'
          self.experiments[id]['fileName'] = file_name
          self.experiments[id]['platform'] = platform
          self.write_file(f add_experiment(self, id, port, time, file_name, platform):
          '''set {key:value} paris to self.experiment'''
          self.experiments[id] = {}
          self.experiments[id]['port'] = port
          self.experiments[id]['startTime'] = time
          self.experiments[id]['endTime'] = 'N/A'
          self.experiments[id]['status'] = 'INITIALIZED'
          self.experiments[id]['fileName'] = file_name
          self.experiments[id]['platform'] = platform
          self.write_file()
docs: set {key:value} paris to self.experiment