code: def find_files(globs):
  	
  
  	last_cwd = os.getcwd()
  	os.chdir(config.cwd)
  
  	gex, gin = separate_globs(globs)
  
  	# Find excluded files
  	exclude = []
  	for glob in gex:
  		parse_glob(glob, exclude)
  
  	files = []
  	include = []
  	order = 0
  
  	# Find included files and removed excluded files
  	for glob in gin:
  		order += 1
  		array = parse_glob(glob, include)
  		base = find_base(glob)
  
  		for file in array:
  			if file not in exclude:
  				files.append((order, base, file))
  
  	os.chdir(last_cwd)
  	return files
docs: Find files to include.