Corrected status when deleting files