<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_json_file(cls, path):
 """ Return a template from a json allocated in a path. :param path: string :return: ServiceAgreementTemplate """

        with open(path) as jsf:
            template_json = json.load(jsf)
            return cls(template_json=template_json)