Method to write to text file