creating a new instance of threeOBJ for every file