Include folder in curve name

Includes the sub-folder name in the curve name. The curve name is displayed e.g. in the legend list shown below.

In the example figure below the sub-folder is named Measurements