code: def _load_timestamps(self):
          
          timestamp_file = os.path.join(self.sequence_path, 'times.txt')
  
          # Read and parse the timestamps
          self.timestamps = []
          with open(timestamp_file, 'r') as f:
              for line in f.readlines():
                  t = dt.timedelta(seconds=float(line))
                  self.timestamps.append(t)
  
          # Subselect the chosen range of frames, if any
          if self.frames is not None:
              self.timestamps = [self.timestamps[i] for i in self.frames]
docs: Load timestamps from file.