added svg() method to get the contents of an SVG file