document_window()
Obtain a reference of the frontmost window of the application. The window is related with a file.
reference : A value of the window class of application "System Events".