Instead of using a statpanel to show detailed information, I'm using html. The information is split up onto three different files (one showing basic information and a picture, another showing stats, and another showing skills) and a fourth containing links to navigate from one to the other. Then, the player is shown the information in a window split into two frames, the top one containing the links which stays there, and the bottom one that changes every time a link is pressed on the top frame. Now, all of this works fine.
The problem is that I don't know how to delete the html files. I cannot fdel them while the player is still viewing them, but since I used browse(), I have no way of knowing when the player closes the window. What is the best way of dealing with this, so that I don't have several html files cluttering up the server.