adding the state file