Creating files with information

You can use the File module to do that.

It has read and write functions…