public static string GetDefaultObjectName(string fileName)
{
if (fileName == null)
throw new ArgumentNullException(nameof(fileName));
if (!File.Exists(fileName))
throw new FileNotFoundException("", fileName);
var buf = new StringBuilder(1 << 16);
NativeMethods.core_FileStorage_getDefaultObjectName(fileName, buf, buf.Capacity);
return buf.ToString();
}