Rather than highlighting the partnered file with any selection, show it when the mouse hovers over an item (hot track). This is probably less confusing than the yellow highlights.
Ideally, collapsed nodes expand, but only as long as the mouse hovers over the paired item.
Ideally, collapsed nodes expand, but only as long as the mouse hovers over the paired item.