Add function do write continuum to a file in /tmp