writes the current DOM document into the given file @param file the filename to write to @throws if something goes wrong with the parsing
(String file)
source not stored for this graph (policy: none)
no test coverage detected