def change_filepath(self, path_purpose='recording'):
        """Pick new path and update label using it."""

        if path_purpose == 'recording':

            caption="Select path wherein to save session recording"
            path_name=DEFAULT_RECORDING_FILENAME
            label = self.recording_filepath_label

        else:

            caption=(
                f"Select {NATIVE_FILE_EXTENSION} file to load for the"
                " recording session"
            )
            path_name=DEFAULT_FILENAME_TO_LOAD
            label = self.filepath_to_load_label

        ### pick new path
        paths = select_paths(caption=caption, path_name=path_name)

        ### if paths were given, there can only be one,
        ### it should be used as the new filepath

        if paths:
            label.set(str(paths[0]))
Pick new path and update label using it.
nodezator/editing/playback/record.py