How do you write to a file using expect, then open in with notepad? I receive results to my command line and I would like to print these results in notepad. Basically an automatic way to get the same result as typing "example.log" into the command line