The file is opened with the 'return' key on the current tab or with the 't' key to open it on a new VIM tab.
Try :help nerdtreequitonopen.
:help nerdtreequitonopen