API, '/file/print?name=foo.txt' contents no longer available

I have software that gets the contents of a small file on my routerboard via the API command ‘/file/print?name=foo.txt’
This was working as recently as RouterOS 4.6 and is broken starting in RouterOS 4.11, I do not have any version in between to test against.

Is there an alternative way via the API to get the contents of a file on the routerboard?
Thanks

/file/print
=from=<filename here>
=detail=