Writing to file works.

The data are the same for all objects. Something is wrong.