def is_project_root_file(filename):
    """
    Identifies the root of the project by a file name contained there.

    """
    return (filename == '.git' or filename == 'waf' or filename ==
        'Makefile' or filename.lower().startswith('readme'))
