made svg_file asynchronous