remove scratch file