Implemented recursive directory walking