Fixed bug not extracting the archive file. First working version.