Add output file support to pipelines