Deletes files based on a file spec and a given timeout. This routine is useful for cleaning up temp files in Web applications.