read method
Reads the UTF-8 contents of file absPath.
Implementation
@override
Future<String> read(String absPath) async {
final file = File(absPath);
if (!file.existsSync()) {
throw WorkspaceException('no such file: $absPath');
}
return file.readAsStringSync();
}