<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_and_lambdas(cls, file: str, lambdas):
 """Builds a GrFN from a JSON object. Args: cls: The class variable for object creation. file: Filename of a GrFN JSON file. Returns: type: A GroundedFunctionNetwork object. """

        with open(file, "r") as f:
            data = json.load(f)

        return cls.from_dict(data, lambdas)