set file modes