title: Read first line of text file then pass following lines to a loop to read
body: <p>I need to read the first line of a file and then the subsequent lines I want read using a loop.</p>
  
  <p>eg:</p>
  
  <pre><code>Read in first line
  Do stuff with the data
  
  foreach ($line in $remainingLines)
  {
      more stuff
  }
  </code></pre>
  
  <p>I have a rather messy way to achieve this but there must be a better way.</p>