def get_first_noncomment_line(filename: str) -> Optional[str]:
    try:
        with open(filename) as f:
            return next(gen_noncomment_lines(f))
    except StopIteration:
        return None