Specify the two append functions -> appendToFile() and appendToList()