import re


def filename_maker(law_name: str) -> str:
    """Returns a lowercase, 250 characters max version of law_name 
    to be used as filename (also, removes special characters)."""
    return re.sub(' ', '-', re.sub('\W+',' ', law_name)).lower()[:250]