<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_legacy(cls, filename, add_compute_legacy=True, add_compute_phoebe=True):
 """Load a bundle from a PHOEBE 1.0 Legacy file. This is a constructor so should be called as: :parameter str filename: relative or full path to the file :return: instantiated :class:`Bundle` object """

        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)