public bool Contains(string filename) { var combined = Path.Combine(path, filename); return combined.StartsWith(path) && File.Exists(combined); }