title: How to Retrieve downloaded file to play React-native
body: <p>I'm using <code>react-native-fetch-blob</code> to download the File .
  The File is residing at <code>RNFS.DocumentDirectoryPath + fileExtension;</code>
  eq: RNFS.DocumentDirectoryPath /myMusic.mp3;</p>
  
  <p>the downloaded file is located at</p>
  
  <pre><code>/data/user/0/com.myproject/files/myMusic.mp3
  </code></pre>
  
  <p>and As per <code>react-native-sound</code> it is asking to place the files under raw folder.
  when I follow the below code using <code>react-native-fs</code>, Its Playing !!!!</p>
  
  <pre class="lang-js prettyprint-override"><code>downloadFileAndPlay()
      {
          console.log('Download');
  
          const downloadDest = RNFS.DocumentDirectoryPath + '/sample.mp3';
          const ret = RNFS.downloadFile(
              {
                  fromUrl: 'http://www.julien-gustin.be/files/sample.mp3',
                  toFile: downloadDest
              }
          );
          ret.promise.then(res =&gt; {
              console.log(res);
              // Load the sound file 'whoosh.mp3' from the app bundle
              // See notes below about preloading sounds within initialization code below.
              console.log(downloadDest);
              var whoosh = new Sound(downloadDest, '', (error) =&gt; {
                  if (error) {
                      console.log('failed to load the sound', error);
                      return;
                  }
                  // loaded successfully
                  console.log('duration in seconds: ' + whoosh.getDuration() + 'number of channels: ' + whoosh.getNumberOfChannels());
  
                  if(whoosh.isLoaded()){
                      console.log('LOADED');
                  }else{
                      console.log('NOT LOADED');
                  }
  
                  // Play the sound with an onEnd callback
                  whoosh.play((success) =&gt; {
                      if (success) {
                          console.log('successfully finished playing');
                      } else {
                          console.log('playback failed due to audio decoding errors');
                      }
                  });
              });
  
          }).catch(err =&gt; {
              console.log(err);
          });
      }
  </code></pre>
  
  <p>in both places I'am using the same Directory path . But in our case its not playing ..
  How can I retrieve the downloaded file and play While I am calling this file from another component?</p>