Removed the binary writing for now. It's not really needed