Im trying to create a finite state machine that reads in the states, transitions, and the strings. I am trying to create it without objects. Everything works up till my for loops. However, as soon as the loop begins I get the error message: 

```
line 42, in <module>
    for I in len (Strings):
TypeError: 'int' object is not iterable

```

Why is this happening? Any tips would be appreciated.

```
Sfile = open("states.txt","r")
States = []

ReadLine = Sfile.readline()
while ReadLine != "":
    A, B, C = ReadLine.split(",")
    States.append((A, bool(int(B)), bool(int(C))))
    ReadLine = Sfile.readline()
print States, "\n"
Sfile.close()

Tfile = open("transistions.txt","r")
Transitions = []

ReadLine = Tfile.readline()
while ReadLine != "":
    ReadLine = ReadLine.rstrip()
    Tran4, Tran5, Tran6 = ReadLine.split(",")
    Transitions.append((Tran4, Tran5, Tran6))
    ReadLine = Tfile.readline()
print Transitions
Tfile.close()

Strfile = open("strings2.txt","r")
Strings = []

ReadLine = Strfile.readline()
while ReadLine != "":
    Readline = ReadLine.rstrip()
    Strings.append(Readline)
    ReadLine = Strfile.readline()

print Strings, '\n'
Strfile.close()

for I in len (Strings):
       for C in Strings[I]:
           Start = '0'
           Current = Start
           if C in Strings == '0':
                Current = A
           else:
                Current = State

print Current...

```

My different text files contain: 

* states.txt

State2,1,0
State3,0,1
State4,1,0

* transitions.txt

State1,0,State2
State2,1,State3
State3,0,State4

* strings2.txt

10100101
1001
10010