def get_significance_values(filewithsigs):
    """ 
    Reads in a two-column file with proteins and binary encoding
    for significant or non-significant abundance changes

    Parameters
    ----------
    filewithsigs: pathlib.PosixPath
    
    Returns
    -------
    sig_dict: dict
        dict of form: { prot : 0/1 }
    """
    sig_dict = {}
    with open(filewithsigs, 'r') as f:
        for line in f:
            line_elems = line.strip().split(' ')
            sig_dict[line_elems[0]] = int(line_elems[1])
    return sig_dict