Create states.txt