def METHOD_NAME(self, files, pattern):
    """ Takes a file dict {"filepath": "...", "last_modified": "..."} and
        a regex pattern string, and returns
        files matching that pattern. """
    matcher = re.compile(pattern)
    LOGGER.info(f"Searching for files for matching pattern: {pattern}")
    return [f for f in files if matcher.search(f["filepath"])]