One file/function to write design info.

And into one file.