works, infiles not yet supported