call process_archive_dir in process function