if file was not changed, just replace content with opened file