Simple in-memory file cache