void (final FileGroup fromGroup) { myGroupHolder.put(fromGroup.getId(), fromGroup); for (String file : fromGroup.getFiles()) { myFileIdx.put(file, fromGroup); } for (FileGroup fromChild : fromGroup.getChildren()) { addGroupToIndexes(fromChild); } }