Map<String, Object> model = new HashMap<String, Object>();
//model.put("packageName", packageName);
//model.put("className", simpleName);
model.put("extensions", discovered);
OutputStream output = sourceFile.openOutputStream();
new TemplateProcessor().process(TEMPLATE, model, output);
output.flush();
output.close();