Already explained above http://forum.mikrotik.com/t/the-maximum-size-of-a-read-written-file/167507/1 and system note can be used as workaround. You can also provide file over http and use chunked download with fetch tool, also you have post with script by rextended http://forum.mikrotik.com/t/how-to-download-only-one-piece-of-file-at-a-time-with-tool-fetch-and-put-it-inside-a-variable/151020/1
you can use flash of usb storage for persistence, depends on device, to save it on flash use
file="flash/sms"