$test = sprintf("%s/%s.php", $ritit->getSubIterator($depth)->current()->getPathname(), $ritit->getSubIterator($depth)->current()->getBasename());