#4 #5 Added support for svg

Same as last commit, but, now, even .svg files work.