Added file writing in bode.