@baba1472 Sorry, this still isn't quite correct. You should only make one call to `QtUtils::writeFile`. Consider the case where there are multiple templates and `file.name` isn't "terminal.topPredictions" -- you would be repeatedly overwriting the output file for each template.