def load(self, config, file_object, prefer=None):
        """ An abstract method that loads from a given file object.

        :param class config: The config class to load into
        :param file file_object: The file object to load from
        :param str prefer: The preferred serialization module name
        :returns: A dictionary converted from the content of the given file object
        :rtype: dict
        """

        return self.loads(config, file_object.read(), prefer=prefer)
An abstract method that loads from a given file object.

        :param class config: The config class to load into
        :param file file_object: The file object to load from
        :param str prefer: The preferred serialization module name
        :returns: A dictionary converted from the content of the given file object
        :rtype: dict