temp.txt is empty