Refactored upload-box to upload-box, file-ub and archive-ub