ENG-5540 changed 'checkToIncludeFile' implementation and fixed typos