removed file outputter, using awk instead