Output text file with all codes