def METHOD_NAME(infile):
    cids = OrderedDict()
    with open(infile, 'r') as f:
        for line in f:
            event = json.loads(line)
            if event["type"] == "accept":
                cids[event["conn"]] = event
    return cids