Ipad files to SD Card?

Printing on a 4 year old Printrbot Play, I’d like to write .gcode files to micro sd for the printer’s reader. I cannot for the life of me find any sort of hardware or software or combination that will allow me to write files to a sd directly from my ipad.
Any Ideas?