Typo?  Should this be `writeOutputToFile`?