Opening a file issue

It's possible a user tries to upload a file with `.dyn` or `.dyf` extension but it doesn't correspond to its content (a file with `dyn` extension but actually it's a custom node and v.v.). Therefore we can't relay on the file path when define the type. So define the type of workspace from the file content
in this case `uploadFileMessage.IsCustomNode` is set according to file content