added setThreadFolders