code: def from_legacy(cls, filename, add_compute_legacy=True, add_compute_phoebe=True):
          
          logger.warning("importing from legacy is experimental until official 1.0 release")
          filename = os.path.expanduser(filename)
          return io.load_legacy(filename, add_compute_legacy, add_compute_phoebe)
docs: Load a bundle from a PHOEBE 1.0 Legacy file.
  
          This is a constructor so should be called as:
  
          >>> b = Bundle.from_legacy('myfile.phoebe')
  
          :parameter str filename: relative or full path to the file
          :return: instantiated :class:`Bundle` object