startWriteOutputToFile, stopWriteOutputToFile and other undocumented functions

Interesting. What was the result of running the two items? Did they both actually create new files?