def read2dict(filePath):
    """Expects the path to a two column tab-delimited as input. Reads 
    the first two columns in the file given by filePath into a 
    dictionary {column1:column2} and returns the dictionary.
    """
    outDict = {}
    with open(filePath) as fl:
        for line in fl:
            key, val = line.strip().split()
            outDict[key] = val
    return outDict