Fix adding an existing file into the index
Add support for HTML files without corresponding markdown sources