readfile to a line