For this homework, you will create a class that finds all the text files (not directories) that end in the .txt or .text extension (case-insensitive).

You must use streams and lambda functions for this assignment. You cannot use the File class!

Motivation

This homework assignment makes sure you understand how to use a functional approach for listing directories.

You are not required to use a functional approach in your project. In Java, a functional approach does not work well with mutability and exception handling. However, there are a few places it can be used. If you are interested, reach out to the instructor!

Hints

Below are some hints that may help with this homework assignment:

These hints are optional. There may be multiple approaches to solving this homework.