This is an example of how to use the SysFileWrite function along with the FileReadWriteType structure.