Need to open the temporary file in order to get the path.