Optimize file transfer process.