Implemented reading, writing, and change_size.