Delete a given file

Hi,

Is there a function which permit to delete a given file ?
Something like this :

myFile = myVault.getData()[0];
myVault.deleteFile(myFile);

or 

myVault.deleteFile(0); // 0 corresponding to index.

Thanks

I found it if someone is intereted :

// select the first child for example
rFirstFile = dhxVault.getData()[0];

//and remove it from the list
dhxVault._removeFileFromList(rFirstFile.id);

Hi
Unfortunatelly there is no such public method.