Here you can find the source of getReader(File queryFile)
public static BufferedReader getReader(File queryFile) 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 getReader(File queryFile) throws FileNotFoundException { BufferedReader br = null; br = new BufferedReader(new FileReader(queryFile)); return br; }//from ww w . ja va 2s .c om }