public static boolean write(String path, String text)
    {
	if(!Common.fileExist(path))//Check file exists
	    Common.fileCreate(path);//if not create it

	if(Common.fileExist(path))//make sure the file we created exists
	{
	    try 
	    {
		//BufferedWriter out = new BufferedWriter(new FileWriter(path));//Non-append
		BufferedWriter out = new BufferedWriter(new FileWriter(path, true));//append
		out.write(text);
		out.close();
		return true;
	    } 
	    catch (IOException e) {return false;}
	}
	else{ return false; }
    }