title: Where are files stored with cordova-file-plugin
body: <p>I'm trying to create a excel on a mobile device, I'm testing with android but it should work for iOS too</p>
  
  <p>I used the following code from the documentation 
  <a href="https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/index.html" rel="nofollow noreferrer">Documentation</a></p>
  
  <pre><code>window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function (fs) {
      console.log('file system open: ' + fs.name);
      fs.root.getFile("newPersistentFile.txt", { create: true, exclusive: false }, function (fileEntry) {
  
          console.log("fileEntry is file?" + fileEntry.isFile.toString());
          fileEntry.name == 'someFile.txt'
          fileEntry.fullPath == '/someFile.txt'
          fileEntry.createWriter(function (fileWriter) {
  
              fileWriter.onwriteend = function() {
                  console.log("Successful file write...");
                  fileEntry.file(function (file) {
                      var reader = new FileReader();
  
                      reader.onloadend = function() {
                          console.log("Successful file read: " + this.result);
                          //displayFileData(fileEntry.fullPath + ": " + this.result);
                      };
  
                      reader.readAsText(file);
  
                  },);
              };
  
              fileWriter.onerror = function (e) {
                  console.log("Failed file write: " + e.toString());
              };
  
              let dataObj = new Blob(['some file data'], { type: 'text/plain' });
  
  
              fileWriter.write(dataObj);
          });
  
      });
  
  });
  </code></pre>
  
  <p>I've tried changing the first three lines for the following ones, with the same result</p>
  
  <pre><code>window.resolveLocalFileSystemURL(cordova.file.dataDirectory, function (fs) {
      console.log('file system open: ' + fs.name);
      fs.root.getFile("newPersistentFile.txt", { create: true, exclusive: false }, function (fileEntry) { ...
  </code></pre>
  
  <p>I get the following console log</p>
  
  <pre><code>file system open: persistent    
  fileEntry is file?true    
  Successful file write...    
  Successful file read: some file data
  </code></pre>
  
  <p>so, the file is created and I can read it, but I don't get any prompt or something, then I navigate to my file on Android/data/com.myapp.app/files and I don't have any file</p>