change httpfile to wget