Finding the right path jpg