doc improvement
added a method to visit sub-directory