check if $statefile exists but is not readable