Both scripts have troubles with nested directories, although they use `os.walk`.
Both scripts have troubles with nested directories, although they use
os.walk.