created files and created a Memory object