Just in case this might be helpful to someone, here's an example of how to read text from a file into an appropriately named Workspace so you can use the Workspace windowbar menu to save the contents of the Workspace back into the same file easily.
(SHWorkspace new openLabel: 'myWorkspace') contents: ((FileStream fileNamed: 'myWorkspace.text') contentsOfEntireFile); changed: #contents.