Removed repeated code in ClipArchive