Remove writing to text file