def get_collection_format_by_extension(self, extension):
        """Retrieve collection format by file extension.

        :param extension: File extension
        :type extension: str