show directories or files only if present