writing to text file
added response list to text file