quick fix for importing draw tools, etc files - text/* works so much better than file/*
it should probably be passed through from the javascript side though...