added folder support for svg case