Fields table now prints to file instead of stdout