void loadConfig() { config = new OrderedProperties(); try { config.load(new FileInputStream(cfgfile)); } catch (FileNotFoundException e) { System.out.printf("%s: No existing config file\n", modName); } catch (IOException e) { System.out.printf("%s: Failed to read %s\n%s\n", modName, cfgfile.getPath(), e); } config.extended = false; Floodlight.init(config); }