fix text file