download a file utility