Framework for cleaning up temp files (TempFiles.cs)