add file write protect example