How about licensecheck detects pattern "See Copyright Notice at the end of this file" and goes LICENSECHECK_PARSELINES from the end to look for a license.