title: get file object using full path
body: <p>is there a way to get a file object using the directory full path of the file itself? this piece of code wont work:</p>
  
  <pre><code>var file1 = new File("D:\\path\\to\\file\\file.txt");
  </code></pre>
  
  <p>I need to get the file object since I have a function that has a file object as its parameter.</p>
  
  <p>bryan</p>