def _remove_files(self, directory, pattern):
        '''
        Removes all files matching the search path

        Arguments:
        search_path -- The path you would like to remove, can contain wildcards

        Example:
        self._remove_files("output/*.html")
        '''
        for root, dirnames, file_names in os.walk(directory):
            for file_name in fnmatch.filter(file_names, pattern):
                os.remove(os.path.join(root, file_name))