private FileStatus getStatus(FileInstallation installation, 
			Sync local) {
		for (FileInstallation file : local.getFiles()) {
			if (file.getLocalLocation().equalsIgnoreCase(installation
					.getLocalLocation())) {
				if (!file.getFile().exists()) {
					return FileStatus.NOT_INSTALLED;
				} else if (file.getVersion() == installation.getVersion()) {
					return FileStatus.INSTALLED;
				} else {
					return FileStatus.OUTDATED;
				}
			}
		}
		return FileStatus.NOT_INSTALLED;
	}