Add output to external file