First draft of recursively traversing subfolders of the target folder.