set current file function in main window