added tableOutput to resultFile