Removing the output in the txt file