title: how to upload and read a file with nodejs / express
body: <p>there are all kinds of posts about this, but I'm still not getting it. 
  I want to upload a *.csv and read and process its contents. </p>
  
  <p>my jade file is this</p>
  
  <pre><code>//views/import.jade
  extends layout
  block content
  h1= title
  form(action="/import", method="post", enctype="multipart/form-data")
      input(type="file", name="ufile")
      input(type="submit", name="Upload")
  </code></pre>
  
  <p>--</p>
  
  <p>I changed the code, but req.files is undefined</p>
  
  <pre><code>//routes/index.js
  
  /* import page. */
  router.get('/blah', function(req, res, next) {
    res.render('import', { title: 'Import Data' });
  });
  
  router.post('/import', function(req, res) {
      console.log(req.files);
  });
  
  
  module.exports = router;
  </code></pre>