diff --git a/+PlotID/Publish.m b/+PlotID/Publish.m
index 9c845ed637e7b3ed2b214c8851bcd1822919896f..2e59623f2c946096b8608631895c53718a5617e0 100644
--- a/+PlotID/Publish.m
+++ b/+PlotID/Publish.m
@@ -315,12 +315,8 @@ function mustBeDataPath(DataPaths)
   if ~iscell(DataPaths)
       DataPaths = {DataPaths};
   end
-  tf = zeros(1,numel(DataPaths)); 
-  
-  for i=1:numel(DataPaths) 
-    tf(i) = ~isfile(DataPaths{i});
-  end
   
+  tf = ~isfile(DataPaths);
   if any(tf)
      eidType = 'mustBeDataPath:notaValidFilePath';
      msgType = 'DataPaths must contain file-path(s)';