int withContentType = 0;
int unableToProcessImage = 0;
int fixed = 0;
for (final IndividualCandidacy candidacy : Bennu.getInstance().getIndividualCandidaciesSet()) {
for (final IndividualCandidacyDocumentFile file : candidacy.getDocumentsSet()) {
final IndividualCandidacyDocumentFileType type = file.getCandidacyFileType();
if (type == IndividualCandidacyDocumentFileType.PHOTO) {
final Registration registration = candidacy.getRegistration();
if (registration != null) {
final Person person = registration.getPerson();
final Photograph personalPhotoEvenIfPending = person.getPersonalPhotoEvenIfPending();