print contour into a file