Save modified file