Amazon Interview Question

Recursion over a directory tree in Python