IO format and interface change.

A new param need to be added to provide the data date.