Added support for outfile filename in pgroup