Create a new stateFile in case there is none at the specified location