Traverse the folder by recursion