public static void prune() {
        File oldfolder = new File(subdirectory + File.separator + OKmain.getPruneDate());
        if (oldfolder.exists()) {
            oldfolder.delete();
        }
    }