match method takes full image path