eader.onload = function(e)
                {
                	// Gets size of image for vertex
					var data = e.target.result;

    				// SVG needs special handling to add viewbox if missing and
    				// find initial size from SVG attributes (only for IE11)
					if (file.type.substring(0, 9) == 'image/svg')
	    			{
    					var comma = data.indexOf(',');
    					var svgText = atob(data.substring(comma + 1));
    					var root = mxUtils.parseXml(svgText);
    					
    					// Parses SVG to find width