Here you can find the source of newReader(File file)
public static BufferedReader newReader(File file) throws FileNotFoundException
//package com.java2s; //License from project: Open Source License import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; public class Main { public static BufferedReader newReader(File file) throws FileNotFoundException { return new BufferedReader(new FileReader(file)); }//from w w w .j a v a 2 s . c o m }