Report question

Question: writeToFile how to tell when it is completed