take the content of a list and append it to another list,"for line in mylog: