temporarily render to a file

Change-Id: Ibfc8101f261489bf11f990ea3fe6ae2e74b99df9
remove unused variable

Change-Id: I8291aa433fb8f9d8fd3a5c2c756c006321a6deb4