switched to native directory walking implementation