Test if the file exists
Implement the case where an error occurs during the download of a tgz
Fix potential bug if there is no ip to query