Commiting the image file