Set<File> (@NotNull IonReader reader, @Nullable String fieldName) { reader.next(); assertFieldName(reader, fieldName); Set<File> set = new HashSet<>(); reader.stepIn(); File file; while ((file = readFile(reader, null)) != null) { set.add(file); } reader.stepOut(); return set; }