Question: how to fix a text file?
Answer: Open “File Explorer” from the taskbar. Now navigate to the location where the text file stored. Right-click on the stored file and select Restore Previous Version. Select the Previous Version and click on Restore.