title: ParallelStream for Files
body: <p>The new Stream API in Java 8 is really nice, especially for the parallel processing capabilities.  However, I don't see how to apply the parallel processing outside of the Collections parallelStream method.</p>
  
  <p>For example, if I am creating a Stream from a File, I use the following:</p>
  
  <pre><code>Stream&lt;String&gt; lines = Files.lines(Paths.get("test.csv"));
  </code></pre>
  
  <p>However, there is no counterpart parallelStream method, like in Collections.  It seems like there could be one thread grabbing the next line, while there could be several threads parsing and processing the lines.</p>
  
  <p>Could this be done with StreamSupport.stream()?</p>