private static bool IsKnownBinaryAsset(FileSystemPath path) { if (IsKnownBinaryAssetByName(path)) { return(true); } var fileLength = (ulong)path.GetFileLength(); if (fileLength > AssetFileCheckSizeThreshold && path.IsAsset()) { return(!path.SniffYamlHeader()); } return(false); }