title: Batch create text files, each new file with different text pulled from excel
body: <p>I'm trying to create multiple text files from template text file; however, in each newly generated file there should be added a new line of text pulled from excel row.</p>
  
  <p>for example:</p>
  
  <p>template text file content</p>
  
  <pre><code>Line1
  Line2
  </code></pre>
  
  <p>And Excel file has several rows, each with different text, e.g.</p>
  
  <pre><code>Row1text
  Row2text
  Row3text
  </code></pre>
  
  <p>So what I need to do is pull from Excel rows the text and add it to the newly generated text file, based on text template file,</p>
  
  <p>so the result would be like this</p>
  
  <p>GeneratedText1.txt</p>
  
  <pre><code>Line1
  Line2
  Row1text
  </code></pre>
  
  <p>GeneratedText2.txt</p>
  
  <pre><code>Line1
  Line2
  Row2text
  </code></pre>
  
  <p>GeneratedText3.txt</p>
  
  <pre><code>Line1
  Line2
  Row3text
  </code></pre>
  
  <p>As many as there are rows in excel, so many the text files should be generated. The names of the new files should be also predefined somewhere.
  What's the best way to do it? Some command line would help?</p>