Looks good. Is this the functionality that was developed in the CDE program? The title of the post is a bit misleading though, the function only seems to do a cleanup, but no archival?