Create gate.txt