bad hack: use async file transfer.