save and load memory
remove test files