Fixed the path of the file being mixed up with the archive name.

Also removed toLowerCase() on the archive name.