pub async fn download_file( config: &Config, client: &Client, name: &str, next: bool, save_name: Option<&str> ) -> Result<()>