title: Loop through text file with sections
body: <p>I have a file with about 11000 lines. Its built up like this:</p>
  
  <pre><code>some info 1
  some cool info 1
  some other info 1
  foo bar 1
  
  
  some info 2
  some cool info 2
  some other info 2
  foo bar 2
  </code></pre>
  
  <p>I would like to set up a loop to go through this, and do like:</p>
  
  <pre><code>data1 = line1
  data2 = line2
  data3 = line3
  data4 = line4
  # do stuff with the data 1,2,3,4
  data1 = line7
  data2 = line8
  data3 = line9
  data4 = line10
  # do stuff with the data 1,2,3,4
  </code></pre>
  
  <p>and do this for all the stuff in the text file. Anybody has any ideas? This is fine to do manually for ten lines, but when its about 11000 lines, I rather have it done automatically.</p>