def get_simple_config(sep, ignore=None):
    """
    get a file config with specify separator and ignore regex
    :param sep: str, separator
    :param ignore: str, ignore lines with specific prefix
    :return:
    """
    from bv.config import TypeConfig
    simple = TypeConfig()
    TypeConfig.body_config = {'sep': sep}
    if ignore is not None:
        TypeConfig.ignore_config = {'regex': '^' + ignore}
    return simple
