Possible downloader function in Powershell. Needs to be tested.