Here is a load/save sample I made a while back, hope it helps.