

def watched_filename(view):
    if (view.file_name() is not None):
        filename = view.file_name().split('/')[(- 1)]
    else:
        filename = 'Unsaved File'
    return filename

dataset/ETHPy150Open lavrton/sublime-better-typescript/TypeScript.py watched_filename/original