public static function ReadConfigurationFromFile($filePath, $OAuthOption = CoreConstants::OAUTH1)
    {
        $ippConfig = new IppConfiguration();

        try {
            if (isset($filePath) && file_exists($filePath)) {
                $xmlObj = simplexml_load_file($filePath);
            } else {
                // $xmlObj = simplexml_load_file(PATH_SDK_ROOT . 'sdk.config');
                 throw new \Exception("Can't Read Configuration from file: ". $filePath);
            }

            LocalConfigReader::initializeOAuthSettings($xmlObj, $ippConfig, $OAuthOption);
            LocalConfigReader::initializeRequestAndResponseSerializationAndCompressionFormat($xmlObj, $ippConfig);
            LocalConfigReader::intializaeServiceBaseURLAndLogger($xmlObj, $ippConfig);
            LocalConfigReader::initializeAPIEntityRules($xmlObj, $ippConfig);
            LocalConfigReader::setupMinorVersion($ippConfig, $xmlObj);

            return $ippConfig;
        } catch (\Exception $e) {
            throw new SdkException("Error Reading the ");
        }
    }