fixed kwarg outfile