Also, starting to break up into smaller functions
Still need to fix a panic that happens on some .rar archive files.
Not quite working yet. WIP.