public void saveFile() {
        if (fileConfiguration == null || configFile == null) {
            
        } else {
            try {
                getFile().save(configFile);
            } catch (IOException ex) {
                plugin.getLogger().log(Level.SEVERE, "Could not save config to " + configFile, ex);
            }
        }
    }