Use \n in append_to_file methods