Added svg file header and tail in data