save and load cards to disk