public static string ZipFileAtRoot(string path) { MatchCollection zips = ZipRootRegex.Matches(path); if (zips.Count > 0) return zips[0].Value; return null; }