title: Read next line in Jinja2
body: <p>I have a text file with the following format:</p>
  
  <pre><code>Title
  \n
  Description
  \n
  Title
  \n
  Description
  ...
  </code></pre>
  
  <p>In my flask application, I'm sending the reference to the file while rendering my template. I'm able to execute the following code to iterate through the file line by line</p>
  
  <pre><code>{% for line in file: %}
      {% set title = line %}
      ....
  </code></pre>
  
  <p>However, I can't use the line</p>
  
  <pre><code>{% file.readline() %}
  </code></pre>
  
  <p>because I get the error</p>
  
  <pre><code>Encountered unknown tag 'file'. Jinja was looking for the following tags: 'endfor' or 'else'. The innermost block that needs to be closed is 'for'.
  </code></pre>
  
  <p>I checked all my tags and the loops are closed. Is there any way in Jinja to skip a line while reading through a file?</p>