API sendMessage Markdown Blocks ( Read from txt file )

Trying to use curl to send a multiline message as markdown blocks.
Basically, I have a text file that needs to be “sent” as a markdown message code block .
Anyone has any advice?

curl --trace - --insecure -H “X-Auth-Token: xxx” -H “X-User-Id: xxx” -H “Content-type:application/json” https://xxx/api/v1/chat.sendMessage -d ‘{“message”:{“rid”:“xxx”,“blocks”:[{“type”:“section”,“text”:{“type”:“mrkdwn”,“text”:“Contents of log file\nNormal message codecodecode here”}}]}}’