The code looks exactly the same as the other download() method. If that is supossed to be the case, just call that method from this one instead of copying the code. IIRC, this method is here so it can be overridden.