reading objects from FS
parsing object type