change searching for locations to os.walk