private boolean containsPublishedFiles(IStorage dir, IDesignerUser user, String timeStamp){
for(Version version : user.getVersions()){
if(!version.getTime().equals(timeStamp)) continue;
for(String res : version.resources){
IPath resPath = new Path(res);
while(resPath.segment(0).equals(".")) resPath = resPath.removeFirstSegments(1);
if(dir.getName().equals(resPath.segment(0))){
return true;
}
}
}