adding memory file.