def format_file_name(path: str) ->str:
    """
    strip illegal characters
    """
    return path.replace('/', '').replace(' ', '').replace('+', '-').replace('"'
        , '').replace('\\', '').replace(':', '-').replace('|', '-')
