add create| append mod when open file