public static void loadSettings() {
        BufferedReader reader = null;

        try {
            File file = new File("./settings.conf");

            if (!file.exists()) {
                file.createNewFile();
            }

            reader = new BufferedReader(new FileReader(file));

            String line = "";

            while ((line = reader.readLine()) != null) {
                if (!line.startsWith("#")) {
                    String[] split = line.split("=", 2);
                    if (split.length == 2) {
                        if (settings.containsKey(split[0].trim())) {
                            settings.get(split[0].trim()).loadValue(split[1].trim());
                        }
                    }
                }
            }
        }
        catch (IOException e) {
            Settling.log.log(Level.SEVERE, "Failed reading configuration file", e);
        }
        finally {
            try {
                if (reader != null) {
                    reader.close();
                }
            }
            catch (IOException e) {}
        }
    }