Transfers a file to the remote machine. The file to be be copied