Adds tempdir -> python assignment to find duplicated image file