Примерно так должно работать:
try (Stream<Path> paths = Files.walk(Paths.get("/home/you/Desktop"))) {
paths
.filter(Files::isRegularFile)
// You can also use Apache StringUtils.containsIgnoreCase()
.filter(path -> path.getFileName().toString().toLowerCase().contains(word.toLowerCase()))
.forEach(System.out::println);
}