I see two possible reasons for this:
1) You're not providing the right path. (check if {[file exists $yourfile]} before you try to delete it and add a warning message if it doesn't exist.)
2) You forgot to close the file/don't have permission to delete it for some other reason. (this should cause an error)