delete file after spec only if it already exists