docs: public static InputStream getFileInputStream(String filename) throws IOException {
      InputStream in = new FileInputStream(filename);
      if (filename.endsWith(".gz")) {
        in = new GZIPInputStream(in);
      } else if (filename.endsWith(".bz2")) {
        //in = new CBZip2InputStream(in);
        in = getBZip2PipedInputStream(filename);
      }
      return in;
    }