docs: public static InputStream newInputStream(Path path, OpenOption... options) throws IOException {
          FileUtils.checkFile(path);
          InputStream inputStream = Files.newInputStream(path, options);
          if (path.toFile().getName().endsWith(".gz")) {
              inputStream = new GZIPInputStream(inputStream);
          }
          return inputStream;
      }