move each object into a separate file