saving player spells to file