Fix typo wrt checkFileContent