title: How to script search a specific row in incoming .CSV files
body: <p>Which is the best way for me to search all <code>.csv</code> files in the folder <code>C:\csvtest</code> once per day?</p>
  
  <p>Im only intrested in the row with the tagname ending with <code>.REG102</code> if it is <code>&lt;=3000</code> and if so output it to a text file in the same location.   </p>
  
  <p>e.g. <code>matchedfilename msg (IDG00105--IDG00105) 2017_10_30_13_30_33.csv</code>
  where <code>matchedfilename</code> is the name of the file where the successful entry was found.</p>
  
  <p><code>.csv</code> file content:</p>
  
  <pre><code>[Data]  
  Tagname,TimeStamp,Value,DataQuality  
  IDG00105--IDG00105.REG96,2017-10-30 13:30:33.000,6774,Good
  IDG00105--IDG00105.REG97,2017-10-30 13:30:33.000,1,Good
  IDG00105--IDG00105.REG98,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG99,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG100,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG101,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG102,2017-10-30 13:30:33.000,3452,Good
  IDG00105--IDG00105.REG103,2017-10-30 13:30:33.000,52,Good
  IDG00105--IDG00105.REG104,2017-10-30 13:30:33.000,0,Good 
  IDG00105--IDG00105.REG105,2017-10-30 13:30:33.000,13824,Good
  IDG00105--IDG00105.REG106,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG107,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG108,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG109,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG110,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG111,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG112,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG113,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG114,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG115,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG116,2017-10-30 13:30:33.000,6287,Good
  IDG00105--IDG00105.REG117,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG118,2017-10-30 13:30:33.000,339,Good
  IDG00105--IDG00105.REG119,2017-10-30 13:30:33.000,0,Good
  IDG00105--IDG00105.REG120,2017-10-30 13:30:33.000,30629,Good
  </code></pre>