setRepresentedFilename
Sets the pathname of the file the window represents, and the icon of the file will show in window's title bar.
Sets the pathname of the file the window represents, and the icon of the file will show in window's title bar.