Updated to use checkCheerioFile in both URL and HTML use cases