pub fn delete_memory(memory_dir: &Path, filename: &str) -> Result<(), String>
Remove a memory file and its index entry.