Added gathering of images and filenames to gather_loans_byfield