private void createFile(Path path, Instant lastModified) throws IOException {
        Files.createDirectories(path.getParent());
        Files.createFile(path);
        Files.setLastModifiedTime(path, FileTime.from(lastModified));
    }
@author Morten Tokle
@author Martin Polden
routing-generator/src/test/java/com/yahoo/vespa/hosted/routing/nginx/NginxMetricsReporterTest.java