import csv


def load_affils(infile):
    """
    Load .tsv of affiliations and store as dictionary
    """

    with open(infile) as fin:
        affils = {akey : affil for akey, affil in csv.reader(fin, delimiter='\t')}
    
    return affils