File bibliographyFile = new File(inputDir, "bib.xml");
if (bibliographyFile.exists()) {
FileUtils.copyFileToDirectory(bibliographyFile, file);
}
Generator generator = parseType.getGenerator(parseType.getParser(), data);
try {
generator.generate(b, file);
} catch (TubainaException e) {
LOG.warn(e.getMessage());
}
}