Create OpenFileWhenConnected