Adding get_archive_details() function.