Fixed typo in file output.