Set<String> (final UpdatedFiles from) { UpdatedFilesReverseSide helper = new UpdatedFilesReverseSide(UpdatedFiles.create()); helper.accumulateFiles(from, DuplicateLevel.DUPLICATE_ERRORS); return helper.myFileIdx.keySet(); }