Did you know? SWI-Prolog can work with tar archivesSearch Documentation:
SWI-Prolog owl logoPredicate absolute_file_name/2