Closes `NERDTree` once a file has been opened