Why do you do this D?

Why can’t you treat objects cast to an interface as actual objects?
Persist save memory to a file

Saved in the same directory as the ROM, uses a simple custom format to
merge multiple memory objects into one.