title: A faster way to read lines in text files quickly
body: <p>My application is looking at huge text files (upwards to half a million lines) from a proxy server log. The problem is that a normal StreamRead iteration of the logs can take an excessive amount of time to process, so I'm looking for something faster.</p>
  
  <p>On the form, the user picks the file they need to parse and enters up to three site filters to check for. The application then opens the file and begins to parse the date stamp and website URL from each line in the file. The average speed is about <strong><em>two lines per second</em></strong>, so for a file with 200,000 lines in it, this process will take about 28 hours to process a file.</p>
  
  <p>I've been reading on the <a href="https://msdn.microsoft.com/en-us/library/system.threading.tasks.task%28v=vs.110%29.aspx" rel="nofollow">Task</a> class, and I'm thinking this would probably be the route to take, but Microsoft doesn't give a very good example, so how can I can accomplish it?</p>