```js
var storeReq = navigator.getDeviceStorage(download.storageName || 'sdcard').
           delete(download.path);
 
       storeReq.onsuccess = function store_onsuccess() {
         deleteRequest.done(storeReq.result);
       };
 
       storeReq.onerror = function store_onerror() {
         sendError(deleteRequest, storeReq.error.name + ' Could not open the file: ' +
                   download.path, CODE.FILE_NOT_FOUND);
       };
```