file input works. need to figure out output format