PAss paths to functions that take paths