title: How to read from a CSV file
body: <p>The problem:  </p>
  
  <p>I have a CSV file.  I want to read from it, and use one of the values in it based on the content of my flow file.  My flow file will be XML.  I want to read the key using EvaluateXPath into an attribute, then use that key to read the corresponding value from the CSV file and put that into a flow file attribute.</p>
  
  <p>I tried following this:</p>
  
  <p><a href="https://community.hortonworks.com/questions/174144/lookuprecord-and-simplecsvfilelookupservice-in-nif.html" rel="nofollow noreferrer">https://community.hortonworks.com/questions/174144/lookuprecord-and-simplecsvfilelookupservice-in-nif.html</a></p>
  
  <p>but found requiring several controller services, including a CSV writer to be a big more than I would think is required to solve this.</p>