}
String generatedFileName = removeFileExtension(file.getAbsolutePath()) + "." + format;
Commandline cl = new Commandline();
cl.setExecutable(executable);
cl.createArgument().setValue("-T" + format);
cl.createArgument().setValue("-o");
cl.createArgument().setValue(generatedFileName);
cl.createArgument().setValue(file.getAbsolutePath());
log.debug("executing: " + cl.toString());