Homework

remember that this an async operation, so it may not have been written to a file at this point. Also, since you only have one write line you might be able to do this in the end call.