use subprocess to transfer file