public function getLeafObject( string $filepath ) : Leaf
	{
		$leafObject = new $this->leafObjectClass( $this->search, $filepath );

		if ( $leafObject instanceof Leaf )
		{
			return $leafObject;
		}

		throw new \RuntimeException( sprintf( '%s is not a subclass of %s\\Leaf', $this->leafObjectClass, __NAMESPACE__ ) );
	}