in reply to Traverse through directory structure and print in required format
Then you should show your effort