pQuery.php
public static function parseFile($path, $context = null) {
        $html_str = file_get_contents($path, false, $context);
        return static::parseStr($html_str);
    }
public static function parseFile($path, $context = null) {
        $html_str = file_get_contents($path, false, $context);
        return static::parseStr($html_str);
    }
Query a file or url.

@param string $path The path to the url.
@param resource $context A context suitable to be passed into {@link file_get_contents}
@return pQuery\DomNode Returns the root dom node for the html file.