Added writeBdf doc