public static void run(String[] args, int unused) {
        reader = new XMLMapTransformer();

        PrintWriter summary = null;

        try {
            File temp = new File("summary.txt");
            temp.createNewFile();
            summary = new PrintWriter(temp);
        } catch (Exception e) {
            System.out.println("Problem opening summary file for writing:");
            e.printStackTrace();
        }

        File folder = new File("server-data/data/");
        folder.mkdirs();
        Process.prepWLK(folder);

        folder = new File("tmwdata/maps/");

        Collection<File> tmxs = getTMXFiles(folder);
        Vector<String> folders = new Vector<String>();
        String name;
        for (File f : tmxs) {
            name = getName(folder, f);
            System.out.printf("== %s ==\n", name);
            if (summary != null) summary.printf("== %s ==\n", name);
            folders.add(Process.processMap(name, loadMap(f), f, summary));
        }

        if (summary != null) {
            summary.flush();
            summary.close();
        }

        Process.writeMasterImport(folders.toArray(new String[0]));
    }