*
* @param filename file to be read
* @return An error string or An empty string on success
*/
protected String loadSettings(String filename) {
CfFileReader f = new CfFileReader();
// Read and browse the file
if (!f.readFile(filename)) {
return "Failed to read " + filename;
}
lastConfig = filename;
return applySettings(f);