Added check for empty files and fixed up assertion
Removing bad array of SVGs since that is out of scope for now