.endsWith(".htm"))
&& htmlSaver != null) {
htmlSaver.save(jasperPrint, file);
} else if (lowerCaseFileName.endsWith(".csv")
&& csvSaver != null) {
csvSaver.save(jasperPrint, file);
} else {
// if (!file.getName().endsWith(".jrprint")) {
// file = new File(file.getAbsolutePath() + ".jrprint");
// }