@Override
	public void deletePicture(String filePath){
		JpaPictureDao jpd = new JpaPictureDao();
		Picture picture = jpd.findById(filePath);

		if(picture != null){
			beginTransaction();
			Album album = picture.getAlbum();
			List<? extends PictureI> pics = album.getPictures();
			pics.remove(picture);
			album.setPictures(pics);
			persist(album);
			beginTransaction();	
		}
	}