docs: private void writeXML(String xml) {
          String resourceName = System.getProperty(CONFIG_FILENAME_KEY);
          if (resourceName == null) {
              return;
          } else {
              URL rUrl = ClassLoader.getSystemResource(resourceName);
              if (rUrl != null) {
                  File file = new File(rUrl.getFile());
                  if (file != null && file.canWrite()) {
                      FileWriter fw = null;
                      try {
                          fw = new FileWriter(file);
                          fw.write(xml);
                          fw.close();
                      } catch (IOException ioe) {
                          //@TODO log it?
                      } finally {
                          try {
                              fw.close();
                          } catch (IOException ioee) {
                              ; //Nothing to do.
                          }
                          fw = null;
                          file = null;
                      }
                  }
              }
          }
      }