docs: private static void writeInfoToFile(File file, DiscoverInfo info) throws IOException {
          try (DataOutputStream dos = new DataOutputStream(new FileOutputStream(file))) {
              dos.writeUTF(info.toXML().toString());
          }
      }