public static Configuration getConfiguration(ConfigurationInterface type){

        boolean configAvailable = FileUtility.doesFileExist(EDITED_CONFIGURATION_PATH);
        boolean defaultAvailable = FileUtility.doesFileExist(DEFAULT_CONFIGURATION_PATH);

        String chosenPath = EDITED_CONFIGURATION_PATH;

        if(configAvailable == false){
            chosenPath = DEFAULT_CONFIGURATION_PATH;
        }

        if(defaultAvailable == false){
            createDefaultConfiguration(type);
        }

        INIFile ini = INIParser.parseFile(FileUtility.readFile(chosenPath));
        Configuration configuration = new Configuration(ini, type);
        return configuration;

    }