Please JAVA Collections and Streams.
Write a program named CommonSense: You will be reading in a textfile of the pamphlet . Read the file into a collection of yourchoice. Then analyze it. You need to include a menu that includesthe following.
1) read in the file (user picks location from a FileDialog box)- put up a dialog box and allow the user to choose where to readthe file from, like we normally do remove the punctuation and makeit case insensitive – there is no output for this menu item. Youcould combine it with 1) if you remove the punctuation as you readit
OR
OR