Revert "struct working! read chunksize correctly"

This reverts commit 3958dc6d1e8438f6dfe5285a56b9cbdc0501766b.