APIWikiModel wikiModel = new APIWikiModel(user, db, "${image}", "${title}", null);
DocumentCreator creator = new DocumentCreator(wikiModel, user, listOfTitleStrings);
creator.setHeader("");
creator.setFooter("");
wikiModel.setUp();
creator.renderToFile(new PlainTextConverter(true), generatedTXTFilename);
// StringBuilder buffer = new StringBuilder();
// creator.render(new PlainTextConverter(true), buffer);
// System.out.println(buffer.toString());
} catch (IOException e) {
e.printStackTrace();