This is good, unless you have a sibling that knows basically anything on how to use trace and how to read scripts. Or knows where the file is stored and deletes it.
If it hasn't already been done, it could be a good idea to obsfucate the code so that people won't know what it is if they find it.