replaced xreadlines with 'line in file'