public File getComponentRootDirectory(String componentName) throws IOException {
public File getComponentRootDirectory(String componentName) {
    public File getComponentRootDirectory(String componentName) throws IOException {        if (getComponentsDir() == null) {            return null;        }        File result = FileUtil.getDirectoryPath(getComponentsDir(), componentName);        // get the version directory        result = FileVersionUtil.getLatestVersionDirectory(result);        return result;    }