@SuppressWarnings("unchecked")
	public int deleteTag(String filename, String tagType, String tagValue) {
		int count = 0;
		Iterator it = GuiView.control.getCurrentUser().getAlbumList().entrySet().iterator();
		while (it.hasNext()) {
			Map.Entry<String, Album> pairs = (Map.Entry<String, Album>) it.next();
			if (pairs.getValue().getPhotoList().containsKey(filename)) {
				if (pairs.getValue().getPhotoList().get(filename).getTagList().containsKey(tagValue)) {
					pairs.getValue().getPhotoList().get(filename).removeTag(tagValue);
					count++;
					//return 1;//"Deleted tag: " + filename + " " + tagType + ":" + tagValue;
				}
				else
					continue;
					//return -1;//"Tag does not exist for " + filename + " " + tagType + ":" + tagValue;
			}
		}
		if (count == 0)
			return -1;
		return 1;//"";
	}