Revert to inlined sub-dir handler as closure is binding on the node that is a directory in the parent list