Fix file transfer order

Addresses #94