* @param name the file name
* @return the URL pointing to the file
*/
private static URL locate(FileSystem fs, String basePath, String name)
{
FileLocator locator =
FileLocatorUtils.fileLocator().fileSystem(fs)
.basePath(basePath).fileName(name).create();
return FileLocatorUtils.locate(locator);
}