if (personalPhotoEvenIfPending == null) {
missing++;
final byte[] content = file.getContent();
if (content != null && content.length > 0) {
withContent++;
final ContentType contentType = ContentType.getContentType(file.getContentType());
if (contentType != null) {
withContentType++;
if (chew(content)) {
final Photograph p = new Photograph(PhotoType.INSTITUTIONAL, contentType, content);
p.setState(PhotoState.APPROVED);