Initial incomplete implementation of file transfer.