title: Type 'URL' has no member 'fileURL' - Swift 3
body: <p>In Swift 2, I had used the following code:</p>
  
  <pre><code>let path = NSBundle.mainBundle().pathForResource("Document", ofType: "pdf")!
  let url = NSURL.fileURLWithPath(path)
  webView.loadRequest(NSURLRequest(URL: url))
  </code></pre>
  
  <p>Now, using Xcode 8 and Swift 3, Xcode automatically translated it to:</p>
  
  <pre><code>let path = Bundle.main.pathForResource("Translation", ofType: "pdf")!
  let url = URL.fileURL(withPath: path)
  webView.loadRequest(URLRequest(url: url))
  </code></pre>
  
  <p>On the second line, with the declaration of <code>url</code>, Xcode gives me the following error:</p>
  
  <blockquote>
    <p>Type 'URL' has no member 'fileURL'</p>
  </blockquote>
  
  <p>How can I fix this error? Thanks!</p>