Implement archive validation
Test for archive validation added
Add logging
validate archives: Also check that the deduced type matches ("tar.gz:bada.." vs. "tar.bz2:bada...")