Added capability to save flow rendering to file