File reportFile = new File(reportName);
InputStream reportInputStream = null;
if (reportFile.exists()) {
TranslationHandler handler = new TranslationHandler(conn);
handler.prepareFile(reportName, language, reportFile, baseDesignPath);
reportInputStream = handler.getInputStream();
}
JasperDesign jasperDesign;
if (reportInputStream != null) {
log4j.debug("Jasper report being created with inputStream.");