loops and finds the start of all 50 JPGs