title: NODEJS: Send a file and data at once
body: <p>This is what I got. It works great but I'd like to be able to send a file and data (JSON), to the client when he logs in my website. Is there any way to combine that?</p>
  
  <pre><code>app.get('/', function (req, res) { 
      res.sendfile(__dirname + '/index.html');
  });
  </code></pre>