igo: use filepath instead of path