I have just run my code again and these are the results shown in the Windows 7 explorer:
The settings.ini and settings.txt files are showing the first creation date, even though they have been deleted numerous times. The "Date" field is quite weird as it shows different dates for the two files.