@classmethod
def generate_filename(cls, modifier: str=None) ->str:
    """
        Generates the configuration filename with an optional modification string.

        :param modifier: String to modify default filename with.
        :return: The generated filepath string.
        """
    name = cls._NAME.lower()
    if modifier:
        name += f'-{modifier}'
    filename = f'{name}.{cls._CONFIG_FILE_EXTENSION.lower()}'
    return filename
