Load file From workspace

Hello!, I’m very new to Theia and I’m having a lot of troubles to start. I’ve developed my own extensions based on Coffee-editor and another one with a command. Now I need the command to load the content of a file in workspace.

Please can you give me some light with it??

You can import { FileSystem } from "@theia/filesystem/lib/common" in order to @inject(FileSystem) private readonly fileSystem: FileSystem, then just

const file = await this.fileSystem.resolveContent(uri)
console.log(file.content)

THANK YOU VERY MUCH!!! All the day lost trying different approximations…