Mmh, which one exactly? The FilesystemIterator? If so, could be changed to DirectoryIterator with $file->isDot(), would that be better?