Fix exception handling and add comments to ArchiveExtractor class