grep output.txt instead of tail