title: Swift 3 - Bundle.main.path with same file name in different directories
body: <p>Long story short, I have two settings files that <em>must</em> have the same name. They're currently in separate folders, something like:</p>
  
  <pre><code>Resources/brand/dev/settings.file
  Resources/brand/prod/settings.file
  </code></pre>
  
  <p>However I can't seem to get Swift to grab the file out, it always comes up as <code>nil</code></p>
  
  <pre><code>var file = Bundle.main.path(forResource:"settings", ofType:"file", inDirectory:"Resources/brand/dev")
  </code></pre>
  
  <p>If I remove one of the files, and the <code>inDirectory</code> parameter everything works fine.</p>
  
  <p>File target membership, project build phases all look OK.</p>
  
  <p>Am I missing something here?</p>