remove scratch file.