Add writiing back to text file