How to write a program in java read data from a file using collection framework, io api, exception handling, thread and string?