Added timestamp-renaming procedure before deletion.