Implement encrypted file transfer