public static void writeFileList(XMLOutput xmlOutput,String tagName,Iterable<File> listValues) throws IOException {
  if (listValues != null) {
    writeFileList(xmlOutput,tagName,listValues.iterator());
  }
}

public static void writeFileList ( XMLOutput xmlOutput , String tagName , Iterable < File > listValues ) throws IOException { if ( listValues != null ) { writeFileList ( xmlOutput , tagName , listValues . iterator ( ) ) ; } }
write a list of strings to document as elements with given tag name .
