class_docstr: A list of files built by on exploring the filesystem and filtered by
  applying various patterns to what we find there.
  
  Instance attributes:
    dir
      directory from which files will be taken -- only used if
      'allfiles' not supplied to constructor
    files
      list of filenames currently being built/filtered/manipulated
    allfiles
      complete list of files under consideration (ie. without any
      filtering applied)
code: def remove_duplicates(self):
      # Assumes list has been sorted!
      for i in range(len(self.files) - 1, 0, -1):
          if self.files[i] == self.files[i - 1]:
              del self.files[i]
  
imports: import os, re
  import fnmatch
  import functools
  from distutils.util import convert_path
  from distutils.errors import DistutilsTemplateError, DistutilsInternalError
  from distutils import log
label_desc: Use image node_id 8 for calling the FileList obj's underlying member method code with example usage: obj.remove_duplicates() without return types