hangover from some refactoring, adding a delegate to file for path.