set readonly file