* use filepath.Base to get the basename of the temp file