WaldScan is a PHP class which recursively scans a given directory for a list of selected file types. It has many uses for any Web page which serves files over HTTP/HTTPS, for a CLI program which does batch processing of files, or in cron jobs for caching file data for faster access.