test file existance before restart