modify file template