Fixed: When 10.times { get_image_file } returned an error.