private static String prefixOf(String name) {
            int dash = name.lastIndexOf('-');
            if (dash < 0) return name;
            return name.substring(0, dash);
        }
Creates an instance of FilesArchive managing the given directory
logserver/src/main/java/com/yahoo/logserver/handlers/archive/FilesArchived.java