include = function (filepath, isAbsolute) { if (isAbsolute === undefined || isAbsolute == false) { filepath = Packages.ro.sync.ecss.extensions.commons.operations.CommonsOperationsUtil.expandAndResolvePath(authorAccess, filepath); } var text = new java.lang.String(java.nio.file.Files.readAllBytes(java.nio.file.Paths. get (java.net.URI(filepath)))); text = String(text); eval(text); }