<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load(cls, path):
 """Load a resolved context from file."""

        with open(path) as f:
            context = cls.read_from_buffer(f, path)
        context.set_load_path(path)
        return context