docs: protected RrdDb createOrOpenDatabase() throws Exception {
  		RrdDb result;
  		if (!this.outputFile.exists()) {
  			FileUtils.forceMkdir(this.outputFile.getParentFile());
  			RrdDefTemplate t = new RrdDefTemplate(this.templateFile);
  			t.setVariable("database", this.outputFile.getCanonicalPath());
  			RrdDef def = t.getRrdDef();
  			result = new RrdDb(def);
  		} else {
  			result = new RrdDb(this.outputFile.getCanonicalPath());
  		}
  		return result;
  	}