include pathname in invalid source err msg
minor (wip)