use path instead of fmt.Sprintf