Adding condition to generated file deletion