transfer images to correct file