Example of reading elements of archive file by using libarchive library.