Can now specify recursive directory depth