add file data
update permision