How to send Command Output to Text file