pub fn extract_filename_from_url<U: AsRef<str>>(url: U) -> Result<String>