Extracted function: SearchForPixels(filename)