added logging
removed exceptions
added integration test for tar files
added test for gzipped tar file