def make_header_map(line, separator='\t'):
    """Returns a dictionary of "column header":index
    """
    header_map = {}
    if not line:
        return header_map

    # split line at separator and populate dictionary (remove double quotes around header)
    headers = line.split(separator)
    for i, header in enumerate(headers):
        header_map[header[1:-1]] = i
        
    return header_map
    # end