Generates latex tables from input text files of a certain type