}
ServerInfo server = getConfiguration().getServerInfo();
// Call web service.
CDownloadedFile requestedFile = new CDownloadedFile();
requestedFile.setPath(path);
CFileDownloadResult downloadResult = fileMgr.downloadFile(getConfiguration().getUserName(),
getConfiguration().getPassword(), requestedFile);
CDownloadedFile downloadedFile = downloadResult.getDownloadedFile();
CDownloadedFile[] cdependencies = downloadResult.getDependencies();
List<FileDownloadDependencyImpl> dependencies = Lists.newArrayList();
if (cdependencies != null) {
for (CDownloadedFile cdependency : cdependencies) {
dependencies.add(new FileDownloadDependencyImpl(cdependency.getPath(), cdependency.getMD5()));
}