changed binary format, added binary diff format, and will add plain text format