Synchronous directory walker for node