rewrote findNodes and following of symbolic links