Iteration with the folder_traverse() function