Added example function to download a file at a given url.