def METHOD_NAME(fname_in):
    f = h5py.File(fname_in,"r")
    vp = VP()
    vp.set_version_from_array(f["version"])
    vp.timestamp = f["timestamp"][0].decode("utf-8")
    g = f["name_value_lists"]
    names = g["parameter_names"]
    values = g["parameter_values"]
    for n,v in zip(names, values):
        name = n.decode("utf-8")
        try:
            val = (v[0], v[1])
        except TypeError:
            val = (v, 0.0)
        vp.name_value_pairs.append( (name, val) )
    return vp