extractFromArchive function

Extract files from archive