Fixed file handling in analyze_archive to not accept non-tar .bz2 and .xz files. Initial setup for .xz analysis