Small code improvements to getArchive
Improved getArchive with file names (#111)