import re


def try_include(line):
    """
    Checks to see if the given line is an include.  If so return the
    included filename, otherwise None.
    """

    match = re.match('^#include\s*[<"]?(.*)[>"]?$', line)
    return match.group(1) if match else None