Use a temporary file.