fixed my incorrect commit comment. should have said added infile->stdout support