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
Don't define these variables here, define them at the place where they are needed.