A basic program to write in a text file.