public Stream OpenRead(string path) { byte[] bytes; if (!_files.TryGetValue(path, out bytes)) { throw new FileNotFoundException(); } return new MemoryStream(bytes); }