private static void flatMap1()
    {
        printTitle("Display files in current dir and one level down using flatMap");
        Stream.of( new File("."))
            .flatMap(file -> file.listFiles() == null ? Stream.of(file) : Stream.of(file.listFiles()))
            .forEach(file -> System.out.println(file.getName()));
    }