Default baseDir should be the HTML file that is being processed