code: def include(self, filename, is_file):
          
          if self.exclude_regex and is_file:
              if self.exclude_regex.match(filename):
                  return False
              return True
          else:
              return True
docs: Determines if a file should be included in a project for uploading.
          If file_exclude_regex is empty it will include everything.
          :param filename: str: filename to match it should not include directory
          :param is_file: bool: is this a file if not this will always return true
          :return: boolean: True if we should include the file.