@classmethod
def fromfile(cls, filepath):
    """Load a :class:`InversionOfControlContainer` from a provisions
        XML file.

        Args:
            filepath: a string specifying the location of the provisions
                file.

        Returns:
            :class:`InversionOfControlContainer`
        """
    instance = cls()
    instance.update(filepath)
    return instance
