Save file from two ports using usrp_rx_cfile.py

Hi,

I would like to save the trasmit data and the receive data using
usrp_rx_cfile.py.
How can I open two port at and save data from two ports at the same
time?
If you have better idea and know better code to apply, could you tell me
how
to do it?
Thank you.

Sincerely,

James P.