File file = new File(location);
File file = new File(basedir, location);
        public WorkflowConfig(String type, String location) {            if ("URL".equals(type)) {                try {                    url = new URL(location);                    File file = new File(url.getFile());                    if (file.exists()) {                        lastModified = file.lastModified();                    }                } catch (Exception ex) {                }            } else if ("file".equals(type)) {                try {                    File file = new File(location);                    url = file.toURL();                    lastModified = file.lastModified();                } catch (Exception ex) {                }            } else {                url = Thread.currentThread().getContextClassLoader().getResource(location);            }            this.type = type;            this.location = location;        }