Avoid replacing files on edit