w+ opening mode means "Read-write, truncates existing file to zero length or creates a new file for reading and writing." So it will be rewritten every time when fake deploy launched.