Began rewriting read/write_disk() to match our design plan