try {
String script=FileUtils.readFileToString(new File(scriptFile));
return bsfEngine.eval(scriptFile,0,0,script);
} catch (IOException e) {
log.warn(e.getLocalizedMessage());
throw new BSFException(BSFException.REASON_IO_ERROR,"Problem reading script file",e);
}
}
}