<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_filename_from_headers(headers):
 """Get a filename from the Content-Disposition header, if available. open_california.tif 'attachment; filename="open_california.tif"' None :param headers dict: a ``dict`` of response headers :returns: a filename (i.e. ``basename``) :rtype: str or None """

    cd = headers.get('content-disposition', '')
    match = re.search('filename="?([^"]+)"?', cd)
    return match.group(1) if match else None