public void saveCache() throws IOException {
		if (xmlFile != null)
		synchronized (doc) {
			try (OutputStream outStream = Files.newOutputStream(xmlFile)) { 
				outputter.output(doc, outStream);
			}
		}
	}