Reading a url or file line by line.