Downloads queue contents to the file system; used for a specific purpose but easily adapted.
Create .env file or set the following environment variables:
QUEUE_CONNECTION_STRING=DefaultEndpointsProtocol=https;AccountName=.... QUEUE_NAME=myqueue OUT_PATH=J:\outputfolder