files.addAll(APILocator.getFileAssetAPI().findFileAssetsByHost(host, user, !showWorking, showWorking, false, false));
if(showArchived)
files.addAll(APILocator.getFileAssetAPI().findFileAssetsByHost(host, user, !showWorking, showWorking, showArchived, false));
} else {
ChildrenCondition cond = new ChildrenCondition();
if(showWorking)
cond.working = true;
else
cond.live = true;
files.addAll(folderAPI.getFiles(parent, userAPI.getSystemUser(), false, cond));