final String versionText = loginData.getOption(SERVER_VERSION);
final int version = ParserUtil.parseInt(versionText, SERVER_VERSION_SUGAR);
final String normalizedUrl = normalizeURL(loginData.getUrl(), version);
final FileSystemOptions fileSystemOptions = new FileSystemOptions();
final PentahoSolutionsFileSystemConfigBuilder configBuilder = new PentahoSolutionsFileSystemConfigBuilder();
configBuilder.setTimeOut(fileSystemOptions, getTimeout(loginData) * 1000);
configBuilder.setUserAuthenticator(fileSystemOptions, new StaticUserAuthenticator(normalizedUrl,
loginData.getUsername(), loginData.getPassword()));
return fileSystemManager.resolveFile(normalizedUrl, fileSystemOptions);
}