final FileSystemOptions fileSystemOptions)
throws FileSystemException
{
// Check if cached
final FileName rootName = file.getName();
FileSystem fs = findFileSystem(rootName, null);
if (fs == null)
{
// Create the file system
fs = doCreateFileSystem(scheme, file, fileSystemOptions);
addFileSystem(rootName, fs);
}
return fs.getRoot();
}