changed references from SubFolderExists to FolderExists