Write current reading to tmp/current.txt file