working on parsing svg files directly