Memory storage can now be easily exported to file storage

I think this could be useful for some people so I added it. :smile: