code: function resolveCdvFile(success, fail, request, options, size) {
      var components = /cdvfile:\/\/localhost\/([^\/]+)\/(.*)/.exec(request),
          fsType = components[1],
          path = components[2];
      if (fsType === 'persistent') {
          resolve(success, fail, path, window.PERSISTENT, SANDBOXED, options, size);
      }
      else if (fsType === 'temporary') {
          resolve(success, fail, path, window.TEMPORARY, SANDBOXED, options, size);
      }
      else if (fsType === 'root') {
          resolve(success, fail, path, window.PERSISTENT, UNSANDBOXED, options);
      }
      else {
          fail(FileError.NOT_FOUND_ERR);
      }
  }
docs: resolve cdvfile://localhost/filesystemname/