def get_separator(handle):
    """ get the column separator (assumes same on all lines)
    """
    current = handle.tell()
    line = handle.readline()
    handle.seek(current)
    
    if line.count('\t') > line.count(' '):
        return '\t'
    else:
        return ' '