public static DocSkin newInstance(File location, DocElement parent) { String skinname = Util.nameFromFile(location, ".skin"); DocSkin skin = new DocSkin(skinname, location, parent);  return skin;
public static DocSkin newInstance(File location) { return newInstance(location, null);
    public static DocSkin newInstance(File location, DocElement parent) {        String skinname = Util.nameFromFile(location, ".skin");        DocSkin skin = new DocSkin(skinname, location, parent);        return skin;    }