Add document parsing when importing from .html files