Further work on file transfer example