public static long getLastModifiedTime(Path path) throws IOException {
    try {
      FileTime time;
      if ("jar".equals(path.toUri().getScheme())) {
        time = Files.getLastModifiedTime(Path.of(path.getFileSystem().toString()));
      } else {
        time = Files.getLastModifiedTime(path);
      }
      return time.toMillis();
    } catch (ClosedFileSystemException e) {
      throw new IOException("File system closed", e);
    }
  }
Unzips a zip file from an input stream to {@code destDir}.

@throws UncheckedIOException if an IO exception occurs
planetiler-core/src/main/java/com/onthegomap/planetiler/util/FileUtils.java