tokens: You can also make the DirectoryStream filter files for you if you need to : all you need to do is add a parameter to the Files.newDirectoryStream call :
ner_tags: O O O O O B-Class O B-Class O O O O O O O O O O O O O O O O O O B-Function O O