extracting common imgs to common folder