def METHOD_NAME(fname_in):
    vp = VP()
    with open(fname_in,'r') as f:
        for line in f:
            line = line.strip()
            elems = line.split(' ',1)
            name = elems[0]
            value = elems[1].strip()
            if len(line) == 0 or line.startswith("#"):
                continue
            if name == 'version':
                vp.version = value
                continue
            if name == 'timestamp':
                vp.timestamp = value
                continue
            vals = value.split()
            if len(vals) == 1:
                val = (float(value), 0.0)
            if len(vals) == 2:
                r = float(vals[0])
                i = float(vals[1])
                val = (r,i)
            vp.name_value_pairs.append( (name, val) )
    return vp