file transfer with comparison