outfile works