Collapse TCP nodes into single pair of files