Files and Folders: Create Sitemap Er. Rochak Chauhan (contact me)
This class can be used to generate XML file with the map of the files from a directory.
It traverses a given directory recursively and generate nested XML document that lists the names of all files and sub-directories contained in the input directory.