How do you list all files in a directory and filter them by extension using Java NIO?
You can use `Files.list()` and filter the results using a `Predicate` to match the file extension.
Great! `Files.list()` can be filtered using a `Predicate` to match specific file extensions.
How would you implement a filter for files with a `.java` extension?