The DirectoryIterator class provides a simple interface for viewing the contents of filesystem directories.