<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_frames(until=None):
 """Create frames available in the JPL files Args: until (str):
 Name of the body you want to create the frame of, and all frames in between. If ``None`` all the frames available in the .bsp files will be created Example: .. code-block:: python # All frames between Earth and Mars are created (Earth, EarthBarycenter, # SolarSystemBarycenter, MarsBarycenter and Mars) create_frames(until='Mars') # All frames between Earth and Phobos are created (Earth, EarthBarycenter, # SolarSystemBarycenter, MarsBarycenter and Phobos) create_frames(until='Phobos') # All frames available in the .bsp files are created create_frames() """


    now = Date.now()

    if until:
        get_orbit(until, now)
    else:
        for body in list_bodies():
            get_orbit(body.name, now)