Used os.walk to recurse into folders

Update the __main__ file for the smoke test to use os.walk as instructed by the "@ToDo"