Rework how path option is used in loadFitResiduals and loadFitMatrix