Create WriteObj.java