code: protected static void removeInternalFiles(List<CmsResource> resources) {
  
          Iterator<CmsResource> iter = resources.iterator();
          while (iter.hasNext()) {
              CmsResource resource = iter.next();
              if (resource.isInternal()) {
                  iter.remove();
              }
          }
      }
docs: Removes files marked as internal from a resource list.<p>
  
  @param resources the list which should be replaced