Added code to text files