A FileIterator allows you step through the contents of a directory and has the following functions:
- Return the filename of the current entry.
- Returns the file size in bytes.
- Returns TRUE if the current entry is a directory or FALSE if it is a file.
- Return the next file in the directory.