Correction to text files