Parse input files content to HTML and text

I’m not sure this is right, but it’s a step.