FileReader input=new BufferedReader(new FileReader("filename"));
//while loop
if (input.nextLine().equals(""))
StringBuffer strBuff=new StringBuffer(input.nextLine()) //advance to the next line
strBuff.insert(" ",1);
pw.println(strBuff);//according to your requirement, use printwriter to printout //this line or alternatively, use a string to save this
// end while loop