Add file input/output; correct of loading of objects.