adding new image to file