function parseFile(input) {
    fileContent = fs.readFileSync(input, { encoding: "utf-8" });
    var ext = path.extname(input);

    if (ext == '.html') return tokenizeHTML(fileContent);

    return fileContent;
}
function parseFile(input) {
    fileContent = fs.readFileSync(input, { encoding: "utf-8" });
    var ext = path.extname(input);

    if (ext == '.html') return tokenizeHTML(fileContent);

    return fileContent;
}
function parseFile ( input ) { fileContent = fs . readFileSync ( input , { encoding : "utf-8" } ) ; var ext = path . extname ( input ) ; if ( ext == '.html' ) return tokenizeHTML ( fileContent ) ; return fileContent ; }
Parse input file
Parse input file