Start coding the write class to file.