adds images to files