shared_dirs = new CopyOnWriteArrayList<File>(shared_dirs);
List<File> already_exist_list = FileUtils.extractNewFolders(new File[]{new File(directory)},shared_dirs,newDirs);
if (already_exist_list.size()!=0) {
AlreadyExistDirsWindow window = new AlreadyExistDirsWindow(already_exist_list);
window.getCoreComponents();
window.initUIComponents();
}
shared_dirs.addAll(newDirs);
try {
config_manager.setSharedFolders(shared_dirs);
} catch (ConfigurationManagerException e1) {