[archivemode] add directory package