There is a great module developed by loleris called ProfileService that I recommend checking out. It makes doing what you described really easy and reliable. I personally used it for the saving system in my theme park game. The module allows you to load a “profile” for each player which contains all of their save data in a format you define with a dictionary template. The example code is a great way to get started.
Hope this helps 