Replaced svgNamed with contentsOfFile