@Override
    public boolean open(final Local file) {
        synchronized(NSWorkspace.class) {
            if(!workspace.openFile(file.getAbsolute())) {
                log.warn(String.format("Error opening file %s", file));
                return false;
            }
            return true;
        }
    }
@Test
    public void testOpen() throws Exception {
        new WorkspaceApplicationLauncher().open(new NullLocal("t"));
        final NullLocal file = new NullLocal(System.getProperty("java.io.tmpdir"), UUID.randomUUID().toString());
        LocalTouchFactory.get().touch(file);
        new WorkspaceApplicationLauncher().open(file);
        file.delete();
    }