An quick look into the KiXtart Manual would also reveal example scripts to read from and write to a text file.
_________________________
There are two types of vessels, submarines and targets.