string mp - output lines to output file instead of just the console