title: Get nil when looking for file in subdirectory of main bundle
body: <p>I've copied a folder with <code>index.html</code> to the project.</p>
  
  <p><a href="https://i.stack.imgur.com/suYcK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/suYcK.png" alt=""></a></p>
  
  <p>When I try to get a path to the file inside a folder, I get <code>nil</code>.</p>
  
  <pre><code>let path = Bundle.main.path(forResource: "index", ofType: "html", inDirectory: "games/game1")
  </code></pre>
  
  <p>I also tried to use "/games/game1" string. Doesn't work though.</p>
  
  <p>But when I move <code>index.html</code> to the root of my project and use </p>
  
  <pre><code>let path = Bundle.main.path(forResource: "index", ofType: "html")
  </code></pre>
  
  <p>I get a correct path.</p>
  
  <p>So my question is how do I get the path of <code>index.html</code> inside a subfolder?</p>