State machine text file altered and StateReader modified to split lines