Error: no 'state_file' defined