Preparing for file transfer