Updated code, support zip files alfter downloading