code: public void setTarget( File target)
      {
      try
        {
        OutputStream targetStream = target==null? null : new FileOutputStream( target);
        setTarget( targetStream);
        }
      catch( Exception e)
        {
        throw new RuntimeException( "Can't create target stream", e);
        }
      }
docs: Changes the target for filter output.