public void validate() throws IOException {
        update0();
        for (int i = 0; i < files.length; i++) {
            if (createIfNotExist && files[i].exists()) {
                files[i].createNewFile();
            }

            if (head != -1 && i == head) {
                //verify header
            }
        }
    }