Generate .tex report from .java and .class files in a directory using python.