Implemented recursive directory walking.