big update on workbench editor that now needs a FileType class instead of a simple glob pattern