Using SD card to replace data cassette

Can anybody point me to some code to get me started or functions I should be using to do this task?

See reply #24.