Fixes issue after delete a file

Fixes issue after delete a file, avoiding call to an unimplemented procedure