public void deleteComment(String filePath){
		PictureObject picture = findById(filePath);
		if(picture != null){
			CommentI com = picture.getComment();
			beginTransaction();
			List<? extends PictureI> pictures = new ArrayList<Picture>();
			try{
				pictures = com.getPictures();
				pictures.remove(picture);
			}catch(Exception e){
				Log.getLogger().log(Level.INFO, "Couldn't get CommentI from Picture " + picture);
			}
			if(pictures.isEmpty() && com!=null){
				entityManager.remove(com);
			}else if(com != null){
				com.setPicture(pictures);
			}
			commitTransaction();	

		}
	}