Find longest common path match of all open parent folderts