Add vcd dump and tee file to api