else if (filemode.equals("x")) {
else if (ch == 'x') {
  public static Object gzopen(Env env,			      String fileName,			      String mode,			      @Optional("false") boolean useIncludePath)  {    String filemode = getFileMode(mode);    int compressionLevel = getCompressionLevel(mode);    int compressionStrategy = getCompressionStrategy(mode);    Object val = FileModule.fopen(env, fileName,				  mode, useIncludePath,				  null);    if (val == null)      return null;    try {      if (filemode.equals("r")) {	BinaryInput is = (BinaryInput) val;	        return new ZlibInputStream(is);      }      else if (filemode.equals("w")) {        return new ZlibOutputStream(((BinaryOutput) val).getOutputStream(),				    compressionLevel,				    compressionStrategy);      }      else if (filemode.equals("a")) {        return new ZlibOutputStream(((BinaryOutput) val).getOutputStream(),				    compressionLevel,				    compressionStrategy);      }      else if (filemode.equals("x")) {        return new ZlibOutputStream(((BinaryOutput) val).getOutputStream(),				    compressionLevel,				    compressionStrategy);      }    }    catch (IOException e) {      log.log(Level.FINE, e.getMessage(), e);      env.warning(L.l(e.getMessage()));    }    return null;  }