I have used File to read the files in a folder.I further want to use Scanner to scan the text in these files.

Regards,
Shweta.