# if there are no jpg files, the glob in the for loop is null and the loop doesn't run ...