<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def file_matches_regexps(filename, patterns):
 """Does this filename match any of the regular expressions?"""

    return any(re.match(pat, filename) for pat in patterns)