I am using an os.walk() loop and if statement to find the path of a file. It works, however after the path is found and printed the loop doesn\'t break for a few seconds aft