if you can open the file for writing, then you should be the only one running...
Hmm... Why didn't I think of it myself?.. Thanks, I'll try that.