public static void saveFile(INIFile file, String path){

        FileUtility.createFile(path);

        ArrayList<String> contents = new ArrayList<String>();

        for(INISection section : file.getSections()){

            String sectionOutput = "[" + section.getName() + "]";
            contents.add(sectionOutput);

            for(INIParameter parameter : section.getParams()){

                String parameterOutput = parameter.getName() + "=" + parameter.getStringValue();
                contents.add(parameterOutput);

            }

        }

        FileUtility.writeFile(path, contents);
    }