Revert "Changes to the SSH file opener which is not working.."

This reverts commit 42cbd0d710815f8a874b8b5f360aa814a4433abd.
Revert "Changes to the engine controlling open files, added more behaviours"

This reverts commit 2155072cdbd36bd6db656ee25cb32e67e7a3d87c.