Added the ScanDirectoryAndSubs method