Returns a sequence of subpaths with maxDepth by walking the file tree.
sequence of Path
maximal depth to be traversed