Added a function for the path for resample models.