defpaths utility