Reads files line by line in browser using the HTML5 FileReader API.