Wiring Ctrl+O and file input to a new window.