Currently, the system relies on the client (via URL parameters) to provide the file extension when retrieving or processing files. This is fragile and potentially insecure.
We need to refactor the storage logic to persist the original filename and extension directly in the Blob Storage metadata.