public void readFile(){
	File f=file;
	
	String temp="";
	try {
		Scanner sc=new Scanner(f);
		while(sc.hasNext()){
			temp+=sc.nextLine()+"\n";
		}
		
	} catch (FileNotFoundException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
	text=temp;;
}