def load_to_dict(filename):
    """
    Load file to Python dictionary
    """
    dictionary = dict()
    with open(filename) as ff:
        for line in ff:
            (key, val) = line.split()
            dictionary[key] = val
    return dictionary