code: def load_pkl(filenames):
      
      if not isinstance(filenames, (list, tuple)):
          filenames = [filenames]
      times = []
      for name in filenames:
          name = str(name)
          with open(name, 'rb') as file:
              loaded_obj = pickle.load(file)
              if not isinstance(loaded_obj, Times):
                  raise TypeError("At least one loaded object is not a Times data object.")
              times.append(loaded_obj)
      return times if len(times) > 1 else times[0]
docs: Unpickle file contents.
  
      Args:
          filenames (str): Can be one or a list or tuple of filenames to retrieve.
  
      Returns:
          Times: A single object, or from a collection of filenames, a list of Times objects.
  
      Raises:
          TypeError: If any loaded object is not a Times object.