use initWithFile in Terrain create