changed the get_file to support authentication if credentials are provid...

The static method download_file does not support credentials... re-worked to support authentication creds.