changed output file to be tab-separated instead of space-separated.