archive function completed.