def scan_file(classifier, location):
    """
    Run a license and copyright scan on file at `location`,
    using golicense-classifier.

    Parameters
    ----------
    classifier : LicenseClassifier()
        `LicenseClassifier` instance for scanning files

    location : str
        Location of the file
    """
    result = classifier.scan_file(location)
    return result