first version, use regex to parse the host file and use windowsapi to download file