public override Stream Open(string path, FileMode mode, FileAccess access, FileShare share) { foreach (ArchiveRecord record in Archive.Records) if (record.PathName == path) return record.Open(); throw new IOException("Archive doesn't contain file '" + path + "'."); }