<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, file_name):
 """ Construct OneViewClient using a json file. Args: file_name: json full path. Returns: OneViewClient: """

        with open(file_name) as json_data:
            config = json.load(json_data)

        return cls(config)