title: Open a external file using pdf.js viewer
body: <p>I am using pdf.js viewer for displaying PDF files in webpage. In server side, I have a folder viewer. Inside this folder I have scripts &amp; content folder.</p>
  
  <p>In Server Scripting,</p>
  
  <pre><code>// Configuration
  app.configure(function(){
  app.use(express.static(__dirname + '/scripts'));
  });
  </code></pre>
  
  <p>So if I put <a href="http://viewer.html" rel="nofollow">localhost/viewer.html</a> to display the viewer.</p>
  
  <p>To open a file I put <a href="http://viewer.html?file=sample.pdf" rel="nofollow">localhost/viewer.html?file=sample.pdf</a>. This is working fine if the viewer.html &amp; sample.pdf are in same folder. But I want to load a input file from content folder for viewer.html in scripts folder</p>