public class Main { public static void main(String[] argv) throws Exception {
File f = new File("C:\\test.txt");
FileReader fr = new FileReader(f);
BufferedReader br = new BufferedReader(fr);
StringBuffer sb = new StringBuffer();
String eachLine = br.readLine();