changed readline to readlines (plural)