Write text in test.txt before branch