local illustrate outputs to file rather than stdout