Schirmer test is used for testing function of which of the following cranial nerve?