public static function load($idpMetadataFilePath, $spMetadataFilePath)
    {
        $metadata = (new static());

        return $metadata
            ->setIdentityProvider($metadata->createEntityDescriptor(file_get_contents($idpMetadataFilePath)))
            ->setServiceProvider($metadata->createEntityDescriptor(file_get_contents($spMetadataFilePath)));
    }