Hi fjagdis,
You could try to find the program-line responsible for the creation of this *.fky-file by
placing something like the following into your program at some points (just to check...and then
delete later on)...
IF FILE("myfkyfile.fky"

&&replace the filename with your *fky-file-name
wait window alltr(str(lineno())) + " Here my file is alreay created"
modif command...... && to see where you are in your program....
ENDIF
I would place this test-code in the middle of my program and then step by step
half the distance from the beginning up or down again until you have found the line which produces
the file. Everytime your *.fky-file has to be deleted first before starting the test-program again....
Of course you could also look for the file if NOT EXISTING if this is easier for you....
If .not. file ....and so on...
Hope that helps
Regards from Germany
Klaus