modify file open