Parses the content.types file and updates the content types database.

        :param config_filename:
            The path to the configuration file.

def add_config_file(self, config_filename):
        """
        Parses the content.types file and updates the content types database.

        :param config_filename:
            The path to the configuration file.
        """
        with open(config_filename, 'rb') as f:
            content = f.read()
            config = yaml.load(content)
            self.add_config(config, config_filename)