<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_hive_file(cls, fname, *args, **kwargs):
 """ Open a local JSON hive file and initialize from the hive contained in that file, paying attention to the version keyword argument. """

        version = kwargs.pop('version', None)
        require = kwargs.pop('require_https', True)
        return cls(Hive.from_file(fname, version, require), *args, **kwargs)