@Override
public Resource load(String name) {
String pathname = PathUtils.combinePathName(basepath, name, false);
File file = PathUtils.getCanonicalFile(new File(pathname));
if (!file.exists()) return null;
return new FileSystemResource(name, file, encoding);
}