public static void RegisterLicenseFromFile(string filePath)
{
if (!filePath.FileExists())
throw new LicenseException("License file does not exist: " + filePath).Trace();
var licenseKeyText = filePath.ReadAllText();
LicenseUtils.RegisterLicense(licenseKeyText);
}