removed Deprecated method listFilesInFolder for Folder loop scan