Tiny cleanup and improvement in refreshing files from a Go SDK