public void deleteLocation(String filePath){
		PictureObject picture = findById(filePath);
		if(picture != null){
			try{
				beginTransaction();
				LocationI location = picture.getLocation();
				List<? extends PictureI>  picts = location.getPictures();
				picts.remove(picture);
				if(picts.isEmpty()){
					entityManager.remove(location);
				}else
					location.setPictures(picts);
			}catch(Exception e){
				Log.getLogger().log(Level.INFO, "Couldn't get CommentI from Picture " + picture);
			}
			commitTransaction();	

		}
	}