private static List<String> file2lines(File file) throws IOException {
        List<String> lines = new ArrayList<>();
        LineNumberReader in = new LineNumberReader(new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8));
        String line;
        while ((line = in.readLine()) != null) {
            lines.add(line);
        }
        return lines;
    }
Verifies that the md5 sum computed on the server is equal to that in the generated class.

@throws java.io.IOException if an error in zk
configserver/src/test/java/com/yahoo/vespa/config/server/MiscTestCase.java