code: def create(cls, ltfile):
          
  
          if not re.search('\.txt?', ltfile) is None:
              files = np.loadtxt(ltfile, unpack=True, dtype='str')
          elif not isinstance(ltfile, list):
              files = glob.glob(ltfile)
  
          ltc = cls.create_from_fits(files[0])
          for f in files[1:]:
              ltc.load_ltfile(f)
  
          return ltc
docs: Create a livetime cube from a single file or list of
          files.