Could not open n.txt file for writing.