protected static function build($filename, HTML_Builder $builder)
 {
     $pconf = new Project_Config();
     if (isset($pconf->templates['remote_parser']) && $pconf->templates['remote_parser']) {
         $parser = new Remote_HTML_Parser($pconf->templates['remote_parser'], $builder);
     } else {
         $parser = new HTML_Parser($builder);
     }
     $parser->parse($filename);
     return $parser->build();
 }