Close image at the end of the loop. Create path with native separator