docs: public static void writeFileList(XMLOutput xmlOutput, String tagName, Iterator<File> listValueIterator) throws IOException {
          while (listValueIterator.hasNext()) {
              xmlOutput.openTag(tagName);
              xmlOutput.writeText(listValueIterator.next().getPath());
              xmlOutput.closeTag(tagName);
          }
      }