Update stateswithfilereading.py