If you leverage imperative binding then you will be able to set the filename via the declaration of a BlobAttribute.
There's a fantastic blog post about doing just this here; https://www.davidguida.net/how-to-dynamically-set-blob-name-in-an-azure-function/
You can also see another example of this binding in this post `
BlobAttribute($"audits/{DateTime.UtcNow.ToString("yyyy-MM-dd")}/{endpointName}/{id}.json")
https://weblogs.asp.net/sfeldman/azure-functions-to-make-audit-queue-and-auditors-happy