Accepts a .txt file and produces a mostly corrected/escaped .tex file of the same name.