expot ping to txt file