title: Can I use same file name in different folder in xcode and how to access it in ios Swift language
body: <p>I am working on audio player in iOS 8 in Swift language.</p>
  
  <p>I have an audio file name with "apple.mp3" in both male and female voices same audio name. Both files are two different groups, for male male group and for female audio female group. So paths would be male/apple.mp3 and female/apple.mp3.</p>
  
  <p>I am using following code to play an audio file</p>
  
  <pre><code>    var audioPlayer = AVAudioPlayer()
      var currentAudioPath:NSURL!
      currentAudioPath = NSURL(fileURLWithPath: NSBundle.mainBundle().pathForResource(audioName, ofType: "mp3")!)
  
      AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback, error: nil)
      AVAudioSession.sharedInstance().setActive(true, error: nil)
      UIApplication.sharedApplication().beginReceivingRemoteControlEvents()
      audioPlayer = AVAudioPlayer(contentsOfURL: currentAudioPath, error: nil)
      audioPlayer.delegate = self
      audioPlayer.play()
  
      audioPlayer.prepareToPlay()
  </code></pre>
  
  <p>How can I play both audios separately with specific path?</p>