public static void writeObject(String filepath, Object obj)
	{
	    try 
	    { 
	    	FileOutputStream fo = new FileOutputStream(filepath); 
			ObjectOutputStream so = new ObjectOutputStream(fo); 
	    	so.writeObject(obj); 
	    	so.close(); 
	    } 
	    catch (IOException e) 
	    { 
	    	System.out.println(e); 
	    } 
		
	}