public void doConversion(){
        String worldName;
        String fileName;
        String number = "0";
        String[] oldData;
        String[] newData;
        String[] worlds = FH.getFolders("Undo Saves");
        for(int i = 0; i < worlds.length; i++){
            worldName = worlds[i];
            File folder = new File(FH.folder + "Undo Saves" + FH.separator + worldName);
            GiantTreesRevived.logInfo("Converting saves for " + worldName + "...");
            File[] files = folder.listFiles();
            for(int k = 0; k < files.length; k++){
                fileName = files[k].getName();
                if(!fileName.equals("Trees.dat")){
                    number = fileName.replace("Tree", "");
                    number = number.replace(".dat", "");
                    oldData = FH.read("Undo Saves" + FH.separator + worldName + FH.separator + fileName);
                    if(isThere(oldData[0])){
                        append(oldData, number, "Saves" + FH.separator + worldName + FH.separator + "Trees.dat");
                        newData = new String[oldData.length - 4];
                        for(int j = 0; j < newData.length; j += 4){
                            //need to re-order in new format: location first, type last
                            newData[j] = oldData[j + 5];
                            newData[j + 1] = oldData[j + 6];
                            newData[j + 2] = oldData[j + 7];
                            newData[j + 3] = oldData[j + 4];
                        }
                        FH.write(newData, "Saves" + FH.separator + worldName + FH.separator + fileName);
                        FH.writeToArchive("Saves" + FH.separator + worldName + FH.separator + fileName.replace(".dat", ".zip"),
                                          "Saves" + FH.separator + worldName + FH.separator + fileName);
                    }
                }
            }
            String[] current = {number};
            FH.write(current, "Saves" + FH.separator + worldName + FH.separator + "CurrentTree.dat");
            number = "0";
        }

        GiantTreesRevived.logInfo("Removing old stuff...");

        for(int i = 0; i < worlds.length; i++){
            worldName = worlds[i];
            File folder = new File(FH.folder + "Undo Saves" + FH.separator + worldName);
            File[] files = folder.listFiles();
            for(int k = 0; k < files.length; k++){
                files[k].delete();
            }
            folder.delete();
        }
        File temp = new File(FH.folder + "Undo Saves");
        temp.delete();
    }