added path saving in TUM format