file write option is wrong.