Add memory file.