Reading a file using FileInputStream

Reading a text file

For reading a file we have to create a FileReader object.
Then we create BufferedReader object of FileReader.
If file not found FileReader constructor throws FileNotFoundException.
If br.readLine() is not able to read source file it throws IOException.