title: Get File from external URL with fs.readFile
body: <p>I have links on a page that when clicked I want a external docx file to open. Unfortunately <code>fs.readFile</code> only reads local paths.</p>
  <p>I tried</p>
  <pre><code>app.get('/getfile', function (req, res) {
     var externalURL = 'http://www.examplesite.com/example.docx';
     // var externalURL = req.query.external;
     fs.readFile(externalURL, function(err, data) {
        var fileData = new Buffer(data).toString('base64');
        res.send(fileData);
     });
  });
  </code></pre>