Added untar resource and clean up of downloaded files