Implementation of wget