public static void cleanup(String path) {
        HashMap<String, ArrayList<String>> savedPlayerData = load(path);
        ConfigurationSection ConfigSec = Spectacles.getInstance().getConfig()
                .getConfigurationSection("Regions");
        if (ConfigSec == null) {
            if (savedPlayerData != null) {
                for (ArrayList<String> arrayList : savedPlayerData.values()) {
                    arrayList.clear();
                }
            }
            System.out.println(savedPlayerData.values());

        } else {

            for (ArrayList<String> arrayList : savedPlayerData.values()) {
                for (Iterator<String> itr = arrayList.iterator(); itr.hasNext(); ) {
                    String arrayListString = itr.next();
                    boolean verified = false;
                    for (Iterator<String> iterator = ConfigSec.getKeys(false)
                            .iterator(); iterator.hasNext();) {
                        String regionNameKey = (iterator.next());
                        if (arrayListString.equals(regionNameKey)) {
                            verified = true;
                        }
                    }
                    if (!verified) {
                        itr.remove();
                    }
                }

            }
        }
        save(savedPlayerData, Spectacles.getInstance().getDataFolder()
                + File.separator + "playerdata.bin");
    }