I take it back, cleanupAndDelete is told not to remove the dll/associated files. It expects the body of archiveWorkunit to do the removal (as it already did for the dll entries).

However, if should be conditional on 'del' here.