protected String fileLoad(String filename) throws IOException,
FileNotFoundException {
if (csptr == 0) {
throw new NullPointerException("CS is closed.");
}
CSFileLoader aFileLoader = fileLoader;
if (aFileLoader == null) {
throw new NullPointerException("No fileLoader specified.");
} else {
String result = aFileLoader.load(localHDF, filename);
if (result == null) {
throw new NullPointerException("CSFileLoader.load() returned null");
}
return result;
}