fixing issue when delete fails

delete would fail without reason when the file was not found.
fixed some missing documentation