Uploading workspace functionality

The Dyname receives a file as byte array, saves it as a file, upload this file, sends all needed for restoring the workspace data to the Flood
move this code into separate method as far as it is used not only here