FileTransfer Dialog wont read the file two times anymore +++ cleaned the code a bit in the dialog