The tree model recurses over the tree nodes, from the root to the leaf nodes, checking if the nodes toString() value contains the filter value
highlite chars from filter in node