title: k6 script: How to parse file info to use in HTTP query
body: <p>I am new to k6 &amp; newish to JS. I am trying to read a list  from a flat file that I exported from a column in DB. I want to open this file &amp; loop through the list appending each item as a query param for my HTTP call. I cannot figure out how to proceed.</p>
  
  <p>So as an example if this is my file:</p>
  
  <p><strong>employees.txt</strong></p>
  
  <pre><code>01111
  02222
  06666
  04444
  09999
  </code></pre>
  
  <p>&amp; here is my k6 script (<strong>perf-employee.js</strong>)</p>
  
  <pre><code>import http from "k6/http";
  import { sleep } from "k6";
  
  export let options = {
    vus: 3,
    duration: "5s" 
  };
  
  var data = {some type of parsing her?}.open("./employees.txt");
  
  export default function() {
    http.get("http://www.example.com/employee?employee_num={number-here}“);
    sleep(1);
  };
  </code></pre>
  
  <p>Any guidance on the direction to proceed would be much appreciated.</p>