def __init__(self, index_file):
        if hasattr(index_file, 'readline') and hasattr(index_file, 'tell'):
            self.fh = index_file
        else:
            self.fh = open(index_file, 'w')

        self.writer = _csv.writer(self.fh, lineterminator="\n")
Return a client given the address.  Note that this can either be called
dataset/ETHPy150Open drkjam/netaddr/netaddr/eui/ieee.py/FileIndexer.__init__--crossover with--dataset/ETHPy150Open codalab/codalab-cli/codalab/lib/codalab_manager.py/CodaLabManager.client