ziggy #1 Load them and save them with the appropiate flags and headers. I'll suggest you to take a look to the LoadText and SaveText functions of the TTextStream module, to see very easily how to do this kind of stuff.