set file attribute