Can handle sub directories