This method should replace the calls to new File(baseLocation, "workbench.xmi") in the file, like line 133 and 173.