def METHOD_NAME(self):
    """
    Load a dictionary from an HDF5 file.
    """
    try:
        import h5py
    except ImportError:
        self.PrintError('ImportError: Unable to Write to hdf5. h5py module not installed')
        raise ImportError('Unable to Write to hdf5. h5py module not installed')
    def recursively_load_dict_contents_from_group(h5file, path):
        """
        Load contents of an HDF5 group. If further groups are encountered,
        treat them like dicts and continue to load them recursively.
        """
        ans = {}
        for key, item in h5file[path].items():
            if isinstance(item, h5py._hl.dataset.Dataset):
                ans[key] = item.value
            elif isinstance(item, h5py._hl.group.Group):
                ans[key] = recursively_load_dict_contents_from_group(h5file, path + key + '/')
        return ans
    with h5py.File(self.InputFileName, 'r') as h5file:
        self.ArrayDict = recursively_load_dict_contents_from_group(h5file, '/')