DirectoryIterator with iterator returned along with validation