diff --git a/+PlotID/createLinkedHDF5.m b/+PlotID/createLinkedHDF5.m
index c7caae2e5204e8e6b2ce98f5930a3e1104d82348..547240bf0575e72b6ad84b940bddde9eeb0832dc 100644
--- a/+PlotID/createLinkedHDF5.m
+++ b/+PlotID/createLinkedHDF5.m
@@ -12,11 +12,17 @@ end
 
 [~,filename,ext] = fileparts(SourceFile);
 
+% create GroupName to avoid internal path issues on linux/unix systems
+GroupName = split(SourceFile,filesep);
+% Using windows fileseperator for the object name
+GroupName = join(GroupName,'\');
+GroupName = GroupName{:};
+
 try
     fid = H5F.create(fullfile(TargetPath,[filename,ext]));
     %create External Link to Sourcefile in the Group linkToExternal
-    H5L.create_external(['..',SourceFile],'/',fid, SourceFile ,plist_id,plist_id);
-    %H5L.create_external(['..,filesep,'data',SourceFile],'/',fid, SourceFile ,plist_id,plist_id); %original
+    H5L.create_external(['..',SourceFile],'/',fid, GroupName ,plist_id,plist_id);
+    %H5L.create_external(['..,filesep,'data',SourceFile],'/',fid, GroupName ,plist_id,plist_id); %original
     H5F.close(fid);
     disp([fullfile(TargetPath,[filename,ext]),' created']);
     status = 1;