beginning of file deletion process